#987E4A#987E4A
#987E4A is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.6% C 0.077 H 83.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #987E4A |
|---|---|
| RGB | rgb(152, 126, 74) |
| HSL | hsl(40, 35%, 44%) |
| HSV | hsv(40, 51%, 60%) |
| CMYK | cmyk(0%, 17.1%, 51.3%, 40.4%) |
| CIE-LAB | lab(54.13, 3.08, 31.89) |
| CIE-LCH | lch(54.13, 32.03, 84.48°) |
| OKLab | oklab(60.57% 0.0086 0.0765) |
| OKLCH | oklch(60.57% 0.077 83.6) |
| XYZ | xyz(21.6466, 22.0926, 9.6014) |
| Luminance | 0.2209 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.17
Puce
#A57E52
ΔE00 5.71
Dark Sand
#A88F59
ΔE00 5.90
Dark Tan
#AF884A
ΔE00 6.06
Dirt
#8A6E45
ΔE00 6.70
Tan Brown
#AB7E4C
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987E4A #4A6498
analogous
#98574A #987E4A #8B984A
triadic
#987E4A #4A987E #7E4A98
tetradic
#987E4A #4A9857 #4A6498 #984A8B
square
#987E4A #4A9857 #4A6498 #984A8B
split-complementary
#987E4A #4A8B98 #574A98
monochromatic
#463A22 #6F5C36 #987E4A #B69C69 #CAB792
Accessibility & contrast
On white
3.88
#987E4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#987E4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987E4A
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987E4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987E4A | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7D46
Deuteranopia (green-blind)
#90844C
Tritanopia (blue-blind)
#A37671
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987e4a; /* rgb */ color: rgb(152, 126, 74); /* oklch */ color: oklch(60.6% 0.077 83.6);
Tailwind
colors: {
custom: {
50: '#b8a37d',
500: '#987e4a',
950: '#000000',
},
}SCSS
$custom: #987e4a; $custom-light: #b8a37d; $custom-dark: #000000;
JSON
{
"hex": "#987e4a",
"rgb": {
"r": 152,
"g": 126,
"b": 74
},
"hsl": {
"h": 40,
"s": 34.513,
"l": 44.314
},
"oklch": {
"l": 0.6057,
"c": 0.077,
"h": 83.6
},
"luminance": 0.22092
}Semantic roles & 50–950 ramp
primary
#987E4A
secondary
#8897B6
accent
#82CB5D
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#120F0A
muted
#817F7C