#987E40#987E40
#987E40 is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.4% C 0.087 H 86.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #987E40 |
|---|---|
| RGB | rgb(152, 126, 64) |
| HSL | hsl(42, 41%, 42%) |
| HSV | hsv(42, 58%, 60%) |
| CMYK | cmyk(0%, 17.1%, 57.9%, 40.4%) |
| CIE-LAB | lab(53.99, 2.18, 37.03) |
| CIE-LCH | lch(53.99, 37.09, 86.63°) |
| OKLab | oklab(60.42% 0.0047 0.0869) |
| OKLCH | oklch(60.42% 0.087 86.9) |
| XYZ | xyz(21.3361, 21.9684, 7.9660) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 5.18
Hazel
#8E7618
ΔE00 6.08
Dark Tan
#AF884A
ΔE00 6.23
Dark Sand
#A88F59
ΔE00 6.27
Puke Brown
#947706
ΔE00 6.73
Yellowish Brown
#9B7A01
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987E40 #405A98
analogous
#985240 #987E40 #869840
triadic
#987E40 #40987E #7E4098
tetradic
#987E40 #409852 #405A98 #984086
square
#987E40 #409852 #405A98 #984086
split-complementary
#987E40 #408698 #524098
monochromatic
#42371C #6D5A2E #987E40 #BA9E5B #CCB886
Accessibility & contrast
On white
3.89
#987E40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#987E40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987E40
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987E40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987E40 | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#A47570
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987e40; /* rgb */ color: rgb(152, 126, 64); /* oklch */ color: oklch(60.4% 0.087 86.9);
Tailwind
colors: {
custom: {
50: '#b9a377',
500: '#987e40',
950: '#000000',
},
}SCSS
$custom: #987e40; $custom-light: #b9a377; $custom-dark: #000000;
JSON
{
"hex": "#987e40",
"rgb": {
"r": 152,
"g": 126,
"b": 64
},
"hsl": {
"h": 42.273,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.60424,
"c": 0.08703,
"h": 86.9
},
"luminance": 0.21967
}Semantic roles & 50–950 ramp
primary
#987E40
secondary
#7D8EB7
accent
#7BD157
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B