#402F11#402F11
#402F11 is a dark, muted orange. Relative luminance 0.032; OKLCH L 31.8% C 0.051 H 79.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #402F11 |
|---|---|
| RGB | rgb(64, 47, 17) |
| HSL | hsl(38, 58%, 16%) |
| HSV | hsv(38, 73%, 25%) |
| CMYK | cmyk(0%, 26.6%, 73.4%, 74.9%) |
| CIE-LAB | lab(20.69, 3.85, 21.79) |
| CIE-LCH | lch(20.69, 22.12, 79.97°) |
| OKLab | oklab(31.77% 0.0094 0.05) |
| OKLCH | oklch(31.77% 0.051 79.3) |
| XYZ | xyz(3.2322, 3.1637, 0.9706) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Espresso
#4B382A
ΔE00 7.89
Dark Brown
#341C02
ΔE00 8.04
Mud Brown
#60460F
ΔE00 9.95
Chocolate (survey)
#3D1C02
ΔE00 10.25
Brown (survey)
#653700
ΔE00 11.38
Walnut
#5C4A3D
ΔE00 11.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#402F11 #112240
analogous
#401711 #402F11 #394011
triadic
#402F11 #11402F #2F1140
tetradic
#402F11 #114017 #112240 #401139
square
#402F11 #114017 #112240 #401139
split-complementary
#402F11 #113940 #171140
monochromatic
#181206 #181206 #402F11 #70531E #A1762B
Accessibility & contrast
On white
12.86
#402F11 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#402F11 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #402F11
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##402F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##402F11 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#362F0E
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#462A28
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #402f11; /* rgb */ color: rgb(64, 47, 17); /* oklch */ color: oklch(31.8% 0.051 79.3);
Tailwind
colors: {
custom: {
50: '#776750',
500: '#402f11',
950: '#000000',
},
}SCSS
$custom: #402f11; $custom-light: #776750; $custom-dark: #000000;
JSON
{
"hex": "#402f11",
"rgb": {
"r": 64,
"g": 47,
"b": 17
},
"hsl": {
"h": 38.298,
"s": 58.025,
"l": 15.882
},
"oklch": {
"l": 0.3177,
"c": 0.05084,
"h": 79.3
},
"luminance": 0.03163
}Semantic roles & 50–950 ramp
primary
#402F11
secondary
#334D79
accent
#7FE147
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78