#987A42#987A42
#987A42 is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.6% C 0.083 H 81.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #987A42 |
|---|---|
| RGB | rgb(152, 122, 66) |
| HSL | hsl(39, 39%, 43%) |
| HSV | hsv(39, 57%, 60%) |
| CMYK | cmyk(0%, 19.7%, 56.6%, 40.4%) |
| CIE-LAB | lab(52.94, 4.61, 34.73) |
| CIE-LCH | lch(52.94, 35.03, 82.44°) |
| OKLab | oklab(59.6% 0.0121 0.0821) |
| OKLCH | oklch(59.6% 0.083 81.6) |
| XYZ | xyz(20.8928, 20.9890, 8.1040) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.15
Puce
#A57E52
ΔE00 5.58
Dirt
#8A6E45
ΔE00 5.90
Tan Brown
#AB7E4C
ΔE00 6.27
Dark Tan
#AF884A
ΔE00 6.28
Light Brown
#AD8150
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A42 #426098
analogous
#984F42 #987A42 #8B9842
triadic
#987A42 #42987A #7A4298
tetradic
#987A42 #42984F #426098 #98428B
square
#987A42 #42984F #426098 #98428B
split-complementary
#987A42 #428B98 #4F4298
monochromatic
#43361D #6D582F #987A42 #B9995E #CCB489
Accessibility & contrast
On white
4.04
#987A42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#987A42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A42
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A42 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877A3D
Deuteranopia (green-blind)
#8E8244
Tritanopia (blue-blind)
#A4716D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987a42; /* rgb */ color: rgb(152, 122, 66); /* oklch */ color: oklch(59.6% 0.083 81.6);
Tailwind
colors: {
custom: {
50: '#b9a078',
500: '#987a42',
950: '#000000',
},
}SCSS
$custom: #987a42; $custom-light: #b9a078; $custom-dark: #000000;
JSON
{
"hex": "#987a42",
"rgb": {
"r": 152,
"g": 122,
"b": 66
},
"hsl": {
"h": 39.07,
"s": 39.45,
"l": 42.745
},
"oklch": {
"l": 0.59602,
"c": 0.08297,
"h": 81.6
},
"luminance": 0.20988
}Semantic roles & 50–950 ramp
primary
#987A42
secondary
#7F93B7
accent
#82CF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B