#987D40#987D40
#987D40 is a mid, moderate orange. Relative luminance 0.217; OKLCH L 60.2% C 0.086 H 85.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #987D40 |
|---|---|
| RGB | rgb(152, 125, 64) |
| HSL | hsl(42, 41%, 42%) |
| HSV | hsv(42, 58%, 60%) |
| CMYK | cmyk(0%, 17.8%, 57.9%, 40.4%) |
| CIE-LAB | lab(53.72, 2.74, 36.71) |
| CIE-LCH | lch(53.72, 36.81, 85.73°) |
| OKLab | oklab(60.21% 0.0063 0.0862) |
| OKLCH | oklch(60.21% 0.086 85.8) |
| XYZ | xyz(21.2089, 21.7140, 7.9236) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.91
Dark Tan
#AF884A
ΔE00 6.17
Hazel
#8E7618
ΔE00 6.19
Dark Sand
#A88F59
ΔE00 6.49
Puke Brown
#947706
ΔE00 6.82
Puce
#A57E52
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987D40 #405B98
analogous
#985140 #987D40 #879840
triadic
#987D40 #40987D #7D4098
tetradic
#987D40 #409851 #405B98 #984087
square
#987D40 #409851 #405B98 #984087
split-complementary
#987D40 #408798 #514098
monochromatic
#42361C #6D5A2E #987D40 #BA9D5B #CCB786
Accessibility & contrast
On white
3.93
#987D40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#987D40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987D40
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987D40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987D40 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#A4746F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #987d40; /* rgb */ color: rgb(152, 125, 64); /* oklch */ color: oklch(60.2% 0.086 85.8);
Tailwind
colors: {
custom: {
50: '#b9a277',
500: '#987d40',
950: '#000000',
},
}SCSS
$custom: #987d40; $custom-light: #b9a277; $custom-dark: #000000;
JSON
{
"hex": "#987d40",
"rgb": {
"r": 152,
"g": 125,
"b": 64
},
"hsl": {
"h": 41.591,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.60211,
"c": 0.08643,
"h": 85.8
},
"luminance": 0.21713
}Semantic roles & 50–950 ramp
primary
#987D40
secondary
#7D8FB7
accent
#7CD157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120F09
muted
#817E7B