#403F2B#403F2B
#403F2B is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.3% C 0.032 H 105.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #403F2B |
|---|---|
| RGB | rgb(64, 63, 43) |
| HSL | hsl(57, 20%, 21%) |
| HSV | hsv(57, 33%, 25%) |
| CMYK | cmyk(0%, 1.6%, 32.8%, 74.9%) |
| CIE-LAB | lab(26.21, -3.41, 12.46) |
| CIE-LCH | lch(26.21, 12.92, 105.31°) |
| OKLab | oklab(36.27% -0.0086 0.0312) |
| OKLCH | oklch(36.27% 0.032 105.5) |
| XYZ | xyz(4.3279, 4.8195, 2.9873) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Charcoal (survey)
#343837
ΔE00 9.97
Dark Grey
#363737
ΔE00 10.56
Dark Olive
#373E02
ΔE00 10.64
Charcoal Grey
#3C4142
ΔE00 11.09
Onyx
#353839
ΔE00 11.23
Espresso
#4B382A
ΔE00 12.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403F2B #2B2C40
analogous
#40342B #403F2B #36402B
triadic
#403F2B #2B403F #3F2B40
tetradic
#403F2B #2B4034 #2B2C40 #402B36
square
#403F2B #2B4034 #2B2C40 #402B36
split-complementary
#403F2B #2B3640 #342B40
monochromatic
#12120C #1B1B12 #403F2B #656344 #89875C
Accessibility & contrast
On white
10.69
#403F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#403F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403F2B
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403F2B | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423D2A
Deuteranopia (green-blind)
#433E2C
Tritanopia (blue-blind)
#433C3A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #403f2b; /* rgb */ color: rgb(64, 63, 43); /* oklch */ color: oklch(36.3% 0.032 105.5);
Tailwind
colors: {
custom: {
50: '#757464',
500: '#403f2b',
950: '#000000',
},
}SCSS
$custom: #403f2b; $custom-light: #757464; $custom-dark: #000000;
JSON
{
"hex": "#403f2b",
"rgb": {
"r": 64,
"g": 63,
"b": 43
},
"hsl": {
"h": 57.143,
"s": 19.626,
"l": 20.98
},
"oklch": {
"l": 0.36271,
"c": 0.0324,
"h": 105.5
},
"luminance": 0.04819
}Semantic roles & 50–950 ramp
primary
#403F2B
secondary
#565771
accent
#6FBC6C
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080805
muted
#7B7B7A