#987C42#987C42
#987C42 is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.0% C 0.084 H 84.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #987C42 |
|---|---|
| RGB | rgb(152, 124, 66) |
| HSL | hsl(40, 39%, 43%) |
| HSV | hsv(40, 57%, 60%) |
| CMYK | cmyk(0%, 18.4%, 56.6%, 40.4%) |
| CIE-LAB | lab(53.48, 3.48, 35.37) |
| CIE-LCH | lch(53.48, 35.54, 84.38°) |
| OKLab | oklab(60.02% 0.0087 0.0835) |
| OKLCH | oklch(60.02% 0.084 84) |
| XYZ | xyz(21.1409, 21.4852, 8.1867) |
| Luminance | 0.2148 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.43
Dark Tan
#AF884A
ΔE00 6.11
Puce
#A57E52
ΔE00 6.23
Dark Sand
#A88F59
ΔE00 6.66
Dirt
#8A6E45
ΔE00 6.72
Hazel
#8E7618
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987C42 #425E98
analogous
#985142 #987C42 #899842
triadic
#987C42 #42987C #7C4298
tetradic
#987C42 #429851 #425E98 #984289
square
#987C42 #429851 #425E98 #984289
split-complementary
#987C42 #428998 #514298
monochromatic
#43361D #6D592F #987C42 #B99B5E #CCB689
Accessibility & contrast
On white
3.96
#987C42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#987C42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987C42
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987C42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987C42 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897C3D
Deuteranopia (green-blind)
#8F8344
Tritanopia (blue-blind)
#A4736E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #987c42; /* rgb */ color: rgb(152, 124, 66); /* oklch */ color: oklch(60.0% 0.084 84.0);
Tailwind
colors: {
custom: {
50: '#b9a178',
500: '#987c42',
950: '#000000',
},
}SCSS
$custom: #987c42; $custom-light: #b9a178; $custom-dark: #000000;
JSON
{
"hex": "#987c42",
"rgb": {
"r": 152,
"g": 124,
"b": 66
},
"hsl": {
"h": 40.465,
"s": 39.45,
"l": 42.745
},
"oklch": {
"l": 0.60025,
"c": 0.08396,
"h": 84
},
"luminance": 0.21484
}Semantic roles & 50–950 ramp
primary
#987C42
secondary
#7F91B7
accent
#7FCF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120F09
muted
#817E7B