#987C40#987C40
#987C40 is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.0% C 0.086 H 84.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #987C40 |
|---|---|
| RGB | rgb(152, 124, 64) |
| HSL | hsl(41, 41%, 42%) |
| HSV | hsv(41, 58%, 60%) |
| CMYK | cmyk(0%, 18.4%, 57.9%, 40.4%) |
| CIE-LAB | lab(53.45, 3.31, 36.39) |
| CIE-LCH | lch(53.45, 36.54, 84.81°) |
| OKLab | oklab(60% 0.008 0.0855) |
| OKLCH | oklch(60% 0.086 84.7) |
| XYZ | xyz(21.0829, 21.4621, 7.8816) |
| Luminance | 0.2146 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.67
Dark Tan
#AF884A
ΔE00 6.17
Hazel
#8E7618
ΔE00 6.35
Puce
#A57E52
ΔE00 6.57
Dark Sand
#A88F59
ΔE00 6.75
Puke Brown
#947706
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987C40 #405C98
analogous
#985040 #987C40 #889840
triadic
#987C40 #40987C #7C4098
tetradic
#987C40 #409850 #405C98 #984088
square
#987C40 #409850 #405C98 #984088
split-complementary
#987C40 #408898 #504098
monochromatic
#42361C #6D592E #987C40 #BA9C5B #CCB686
Accessibility & contrast
On white
3.97
#987C40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#987C40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987C40
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987C40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987C40 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897B3A
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#A4736E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #987c40; /* rgb */ color: rgb(152, 124, 64); /* oklch */ color: oklch(60.0% 0.086 84.7);
Tailwind
colors: {
custom: {
50: '#b9a176',
500: '#987c40',
950: '#000000',
},
}SCSS
$custom: #987c40; $custom-light: #b9a176; $custom-dark: #000000;
JSON
{
"hex": "#987c40",
"rgb": {
"r": 152,
"g": 124,
"b": 64
},
"hsl": {
"h": 40.909,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.59998,
"c": 0.08588,
"h": 84.7
},
"luminance": 0.21461
}Semantic roles & 50–950 ramp
primary
#987C40
secondary
#7D8FB7
accent
#7ED157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120F09
muted
#817E7B