#403F2F#403F2F
#403F2F is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.4% C 0.026 H 104.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #403F2F |
|---|---|
| RGB | rgb(64, 63, 47) |
| HSL | hsl(56, 15%, 22%) |
| HSV | hsv(56, 27%, 25%) |
| CMYK | cmyk(0%, 1.6%, 26.6%, 74.9%) |
| CIE-LAB | lab(26.30, -2.75, 10.00) |
| CIE-LCH | lch(26.30, 10.37, 105.35°) |
| OKLab | oklab(36.37% -0.0066 0.0254) |
| OKLCH | oklch(36.37% 0.026 104.7) |
| XYZ | xyz(4.4049, 4.8503, 3.3929) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Charcoal (survey)
#343837
ΔE00 8.44
Dark Grey
#363737
ΔE00 8.98
Charcoal Grey
#3C4142
ΔE00 9.48
Onyx
#353839
ΔE00 9.63
Espresso
#4B382A
ΔE00 11.63
Walnut
#5C4A3D
ΔE00 11.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403F2F #2F3040
analogous
#40372F #403F2F #39402F
triadic
#403F2F #2F403F #3F2F40
tetradic
#403F2F #2F4037 #2F3040 #402F39
square
#403F2F #2F4037 #2F3040 #402F39
split-complementary
#403F2F #2F3940 #372F40
monochromatic
#12110D #1D1C15 #403F2F #636249 #878463
Accessibility & contrast
On white
10.66
#403F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#403F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403F2F
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403F2F | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423E2E
Deuteranopia (green-blind)
#423F30
Tritanopia (blue-blind)
#433D3B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #403f2f; /* rgb */ color: rgb(64, 63, 47); /* oklch */ color: oklch(36.4% 0.026 104.7);
Tailwind
colors: {
custom: {
50: '#757467',
500: '#403f2f',
950: '#000000',
},
}SCSS
$custom: #403f2f; $custom-light: #757467; $custom-dark: #000000;
JSON
{
"hex": "#403f2f",
"rgb": {
"r": 64,
"g": 63,
"b": 47
},
"hsl": {
"h": 56.471,
"s": 15.315,
"l": 21.765
},
"oklch": {
"l": 0.36372,
"c": 0.02624,
"h": 104.7
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#403F2F
secondary
#5B5C70
accent
#74B870
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A