#402E08#402E08
#402E08 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.4% C 0.058 H 81.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #402E08 |
|---|---|
| RGB | rgb(64, 46, 8) |
| HSL | hsl(41, 78%, 14%) |
| HSV | hsv(41, 88%, 25%) |
| CMYK | cmyk(0%, 28.1%, 87.5%, 74.9%) |
| CIE-LAB | lab(20.29, 3.94, 25.61) |
| CIE-LCH | lch(20.29, 25.91, 81.26°) |
| OKLab | oklab(31.43% 0.0083 0.0573) |
| OKLCH | oklch(31.43% 0.058 81.8) |
| XYZ | xyz(3.1354, 3.0617, 0.6555) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Brown
#341C02
ΔE00 8.66
Mud Brown
#60460F
ΔE00 9.26
Espresso
#4B382A
ΔE00 9.56
Chocolate (survey)
#3D1C02
ΔE00 10.68
Brown (survey)
#653700
ΔE00 10.86
Dark Olive
#373E02
ΔE00 12.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#402E08 #081A40
analogous
#401208 #402E08 #364008
triadic
#402E08 #08402E #2E0840
tetradic
#402E08 #084012 #081A40 #400836
square
#402E08 #084012 #081A40 #400836
split-complementary
#402E08 #083640 #120840
monochromatic
#1B1403 #1B1403 #402E08 #76550F #AD7C16
Accessibility & contrast
On white
13.02
#402E08 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#402E08 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #402E08
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##402E08 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##402E08 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #402e08; /* rgb */ color: rgb(64, 46, 8); /* oklch */ color: oklch(31.4% 0.058 81.8);
Tailwind
colors: {
custom: {
50: '#78664b',
500: '#402e08',
950: '#000000',
},
}SCSS
$custom: #402e08; $custom-light: #78664b; $custom-dark: #000000;
JSON
{
"hex": "#402e08",
"rgb": {
"r": 64,
"g": 46,
"b": 8
},
"hsl": {
"h": 40.714,
"s": 77.778,
"l": 14.118
},
"oklch": {
"l": 0.31429,
"c": 0.05786,
"h": 81.8
},
"luminance": 0.03062
}Semantic roles & 50–950 ramp
primary
#402E08
secondary
#25427E
accent
#71F434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77