#2E2B22#2E2B22
#2E2B22 is a dark, near-neutral yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.016 H 91.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B22 |
|---|---|
| RGB | rgb(46, 43, 34) |
| HSL | hsl(45, 15%, 16%) |
| HSV | hsv(45, 26%, 18%) |
| CMYK | cmyk(0%, 6.5%, 26.1%, 82%) |
| CIE-LAB | lab(17.57, -0.52, 6.37) |
| CIE-LCH | lch(17.57, 6.39, 94.67°) |
| OKLab | oklab(28.92% -0.0005 0.0163) |
| OKLCH | oklch(28.92% 0.016 91.8) |
| XYZ | xyz(2.2793, 2.4241, 1.8609) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Grey
#363737
ΔE00 6.84
Charcoal (survey)
#343837
ΔE00 7.08
Onyx
#353839
ΔE00 7.78
Charcoal Grey
#3C4142
ΔE00 9.82
Espresso
#4B382A
ΔE00 10.48
Gunmetal
#2A3439
ΔE00 10.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B22 #22252E
analogous
#2E2522 #2E2B22 #2B2E22
triadic
#2E2B22 #222E2B #2B222E
tetradic
#2E2B22 #222E25 #22252E #2E222B
square
#2E2B22 #222E25 #22252E #2E222B
split-complementary
#2E2B22 #222B2E #25222E
monochromatic
#12100D #12100D #2E2B22 #514C3C #746D56
Accessibility & contrast
On white
14.14
#2E2B22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#2E2B22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B22
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B22 | 1.00 | 14.14 | 1.48 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2B21
Deuteranopia (green-blind)
#2E2B22
Tritanopia (blue-blind)
#302A28
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2e2b22; /* rgb */ color: rgb(46, 43, 34); /* oklch */ color: oklch(28.9% 0.016 91.8);
Tailwind
colors: {
custom: {
50: '#66645d',
500: '#2e2b22',
950: '#000000',
},
}SCSS
$custom: #2e2b22; $custom-light: #66645d; $custom-dark: #000000;
JSON
{
"hex": "#2e2b22",
"rgb": {
"r": 46,
"g": 43,
"b": 34
},
"hsl": {
"h": 45,
"s": 15,
"l": 15.686
},
"oklch": {
"l": 0.28924,
"c": 0.01633,
"h": 91.8
},
"luminance": 0.02424
}Semantic roles & 50–950 ramp
primary
#2E2B22
secondary
#4D515F
accent
#82B870
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060504
muted
#7A7979