#262D1D color
The hex color #262D1D is a very dark, grayish yellow-green.
In the RGB color model it is made of 14.9% red, 17.6% green and 11.4% blue (38, 45, 29).
Its hue angle is 86°, with 22% saturation and 15% lightness. For print, the CMYK equivalent is 16% cyan, 0% magenta, 36% yellow and 82% black.
The closest named color is Marshland (#2B2E26), a difference of 4.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.23:1).
#262D1D color codes
| HEX | #262D1D | |
|---|---|---|
| RGB | rgb(38, 45, 29) | |
| RGB percent | rgb(14.9%, 17.6%, 11.4%) | |
| HSL | hsl(86, 22%, 15%) | |
| HSV / HSB | hsv(86, 36%, 18%) | |
| CMYK | cmyk(16%, 0%, 36%, 82%) | |
| CIE LAB | lab(17.36, -6.67, 9.38) | |
| CIE LCH | lch(17.36, 11.51, 125.45) | |
| CIE XYZ | xyz(1.959, 2.378, 1.518) | |
| Decimal | 2501917 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262D1D, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #262D1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.23:1 | Pass | Pass | Pass |
| #262D1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.23:1 | Pass | Pass | Pass |
| Sample text | 1.48:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #262D1D looks to people with the most common types of color vision deficiency.
#2f2b1cProtanopia
no red cones#2e2b1eDeuteranopia
no green cones#272c29Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #262d1d; }
.text { color: #262d1d; }
.border { border: 2px solid #262d1d; }
.transparent { background-color: rgb(38 45 29 / 50%); }
.gradient { background: linear-gradient(to right, #262d1d, #1e2d1d); }
Similar colors
#2b2e26Marshland#1e231cUnderworld#17240bMidnight Pines#2b322dTerminal Black#112211Nightmare#172808Lindworm Green#223311Darkest Forest#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #262D1D?
- #262D1D is a very dark, grayish yellow-green, closest to the named color Marshland. It belongs to the black family of colors.
- What is the RGB value of #262D1D?
- The RGB value is 38, 45, 29: 38 red, 45 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #262D1D?
- The complementary color is #241D2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262D1D?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.23:1. WCAG asks for at least 4.5:1 for normal text.