#987940#987940
#987940 is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.084 H 81.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #987940 |
|---|---|
| RGB | rgb(152, 121, 64) |
| HSL | hsl(39, 41%, 42%) |
| HSV | hsv(39, 58%, 60%) |
| CMYK | cmyk(0%, 20.4%, 57.9%, 40.4%) |
| CIE-LAB | lab(52.64, 5.01, 35.44) |
| CIE-LCH | lch(52.64, 35.79, 81.95°) |
| OKLab | oklab(59.36% 0.013 0.0834) |
| OKLCH | oklch(59.36% 0.084 81.2) |
| XYZ | xyz(20.7127, 20.7216, 7.7582) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.28
Puce
#A57E52
ΔE00 5.65
Dirt
#8A6E45
ΔE00 5.78
Tan Brown
#AB7E4C
ΔE00 6.25
Dark Tan
#AF884A
ΔE00 6.42
Light Brown
#AD8150
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987940 #405F98
analogous
#984D40 #987940 #8B9840
triadic
#987940 #409879 #794098
tetradic
#987940 #40984D #405F98 #98408B
square
#987940 #40984D #405F98 #98408B
split-complementary
#987940 #408B98 #4D4098
monochromatic
#42341C #6D572E #987940 #BA995B #CCB486
Accessibility & contrast
On white
4.08
#987940 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#987940 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987940
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987940 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#8D8142
Tritanopia (blue-blind)
#A4706C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987940; /* rgb */ color: rgb(152, 121, 64); /* oklch */ color: oklch(59.4% 0.084 81.2);
Tailwind
colors: {
custom: {
50: '#b99f76',
500: '#987940',
950: '#000000',
},
}SCSS
$custom: #987940; $custom-light: #b99f76; $custom-dark: #000000;
JSON
{
"hex": "#987940",
"rgb": {
"r": 152,
"g": 121,
"b": 64
},
"hsl": {
"h": 38.864,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.59363,
"c": 0.08443,
"h": 81.2
},
"luminance": 0.2072
}Semantic roles & 50–950 ramp
primary
#987940
secondary
#7D91B7
accent
#82D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B