#987F40#987F40
#987F40 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 60.6% C 0.088 H 88.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #987F40 |
|---|---|
| RGB | rgb(152, 127, 64) |
| HSL | hsl(43, 41%, 42%) |
| HSV | hsv(43, 58%, 60%) |
| CMYK | cmyk(0%, 16.4%, 57.9%, 40.4%) |
| CIE-LAB | lab(54.27, 1.62, 37.35) |
| CIE-LCH | lch(54.27, 37.38, 87.52°) |
| OKLab | oklab(60.64% 0.0031 0.0876) |
| OKLCH | oklch(60.64% 0.088 88) |
| XYZ | xyz(21.4646, 22.2255, 8.0088) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 5.49
Hazel
#8E7618
ΔE00 6.02
Dark Sand
#A88F59
ΔE00 6.08
Dark Tan
#AF884A
ΔE00 6.32
Dark Khaki
#9B8F55
ΔE00 6.62
Puke Brown
#947706
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987F40 #405998
analogous
#985340 #987F40 #859840
triadic
#987F40 #40987F #7F4098
tetradic
#987F40 #409853 #405998 #984085
square
#987F40 #409853 #405998 #984085
split-complementary
#987F40 #408598 #534098
monochromatic
#42371C #6D5B2E #987F40 #BA9F5B #CCB886
Accessibility & contrast
On white
3.86
#987F40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#987F40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987F40
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987F40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987F40 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#928542
Tritanopia (blue-blind)
#A47671
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #987f40; /* rgb */ color: rgb(152, 127, 64); /* oklch */ color: oklch(60.6% 0.088 88.0);
Tailwind
colors: {
custom: {
50: '#b9a377',
500: '#987f40',
950: '#000000',
},
}SCSS
$custom: #987f40; $custom-light: #b9a377; $custom-dark: #000000;
JSON
{
"hex": "#987f40",
"rgb": {
"r": 152,
"g": 127,
"b": 64
},
"hsl": {
"h": 42.955,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.60638,
"c": 0.08764,
"h": 88
},
"luminance": 0.22224
}Semantic roles & 50–950 ramp
primary
#987F40
secondary
#7D8DB7
accent
#7AD157
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B