#2F2D22#2F2D22
#2F2D22 is a dark, near-neutral yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.019 H 98.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D22 |
|---|---|
| RGB | rgb(47, 45, 34) |
| HSL | hsl(51, 16%, 16%) |
| HSV | hsv(51, 28%, 18%) |
| CMYK | cmyk(0%, 4.3%, 27.7%, 81.6%) |
| CIE-LAB | lab(18.35, -1.38, 7.46) |
| CIE-LCH | lch(18.35, 7.59, 100.52°) |
| OKLab | oklab(29.56% -0.003 0.019) |
| OKLCH | oklch(29.56% 0.019 98.9) |
| XYZ | xyz(2.3994, 2.5966, 1.8879) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Charcoal (survey)
#343837
ΔE00 7.25
Dark Grey
#363737
ΔE00 7.36
Onyx
#353839
ΔE00 8.21
Charcoal Grey
#3C4142
ΔE00 9.93
Gunmetal
#2A3439
ΔE00 11.00
Espresso
#4B382A
ΔE00 11.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D22 #22242F
analogous
#2F2622 #2F2D22 #2A2F22
triadic
#2F2D22 #222F2D #2D222F
tetradic
#2F2D22 #222F26 #22242F #2F222A
square
#2F2D22 #222F26 #22242F #2F222A
split-complementary
#2F2D22 #222A2F #26222F
monochromatic
#12110D #12110D #2F2D22 #534F3C #767155
Accessibility & contrast
On white
13.82
#2F2D22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#2F2D22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D22
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D22 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2C21
Deuteranopia (green-blind)
#302D22
Tritanopia (blue-blind)
#312B2A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2f2d22; /* rgb */ color: rgb(47, 45, 34); /* oklch */ color: oklch(29.6% 0.019 98.9);
Tailwind
colors: {
custom: {
50: '#67655d',
500: '#2f2d22',
950: '#000000',
},
}SCSS
$custom: #2f2d22; $custom-light: #67655d; $custom-dark: #000000;
JSON
{
"hex": "#2f2d22",
"rgb": {
"r": 47,
"g": 45,
"b": 34
},
"hsl": {
"h": 50.769,
"s": 16.049,
"l": 15.882
},
"oklch": {
"l": 0.29564,
"c": 0.01924,
"h": 98.9
},
"luminance": 0.02597
}Semantic roles & 50–950 ramp
primary
#2F2D22
secondary
#4D5060
accent
#7AB96F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060504
muted
#7A7A79