#31291F#31291F
#31291F is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.7% C 0.021 H 73.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #31291F |
|---|---|
| RGB | rgb(49, 41, 31) |
| HSL | hsl(33, 23%, 16%) |
| HSV | hsv(33, 37%, 19%) |
| CMYK | cmyk(0%, 16.3%, 36.7%, 80.8%) |
| CIE-LAB | lab(17.17, 1.80, 7.94) |
| CIE-LCH | lch(17.17, 8.14, 77.25°) |
| OKLab | oklab(28.66% 0.0062 0.0201) |
| OKLCH | oklch(28.66% 0.021 73) |
| XYZ | xyz(2.3069, 2.3379, 1.6258) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Espresso
#4B382A
ΔE00 7.91
Dark Grey
#363737
ΔE00 8.46
Charcoal (survey)
#343837
ΔE00 9.42
Onyx
#353839
ΔE00 9.61
Dark Brown
#341C02
ΔE00 9.68
Charcoal Grey
#3C4142
ΔE00 11.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31291F #1F2731
analogous
#31201F #31291F #30311F
triadic
#31291F #1F3129 #291F31
tetradic
#31291F #1F3120 #1F2731 #311F30
square
#31291F #1F3120 #1F2731 #311F30
split-complementary
#31291F #1F3031 #201F31
monochromatic
#13100C #13100C #31291F #564837 #7C684E
Accessibility & contrast
On white
14.31
#31291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#31291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31291F
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31291F | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C291E
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#342726
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #31291f; /* rgb */ color: rgb(49, 41, 31); /* oklch */ color: oklch(28.7% 0.021 73.0);
Tailwind
colors: {
custom: {
50: '#69625a',
500: '#31291f',
950: '#000000',
},
}SCSS
$custom: #31291f; $custom-light: #69625a; $custom-dark: #000000;
JSON
{
"hex": "#31291f",
"rgb": {
"r": 49,
"g": 41,
"b": 31
},
"hsl": {
"h": 33.333,
"s": 22.5,
"l": 15.686
},
"oklch": {
"l": 0.28662,
"c": 0.02105,
"h": 73
},
"luminance": 0.02338
}Semantic roles & 50–950 ramp
primary
#31291F
secondary
#485463
accent
#8FBF69
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060503
muted
#7A7978