#987E42#987E42
#987E42 is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.5% C 0.085 H 86.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #987E42 |
|---|---|
| RGB | rgb(152, 126, 66) |
| HSL | hsl(42, 39%, 43%) |
| HSV | hsv(42, 57%, 60%) |
| CMYK | cmyk(0%, 17.1%, 56.6%, 40.4%) |
| CIE-LAB | lab(54.02, 2.35, 36.02) |
| CIE-LCH | lch(54.02, 36.09, 86.27°) |
| OKLab | oklab(60.45% 0.0054 0.0849) |
| OKLCH | oklch(60.45% 0.085 86.3) |
| XYZ | xyz(21.3940, 21.9916, 8.2711) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.94
Dark Tan
#AF884A
ΔE00 6.14
Dark Sand
#A88F59
ΔE00 6.14
Hazel
#8E7618
ΔE00 6.44
Puce
#A57E52
ΔE00 6.98
Dark Khaki
#9B8F55
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987E42 #425C98
analogous
#985342 #987E42 #879842
triadic
#987E42 #42987E #7E4298
tetradic
#987E42 #429853 #425C98 #984287
square
#987E42 #429853 #425C98 #984287
split-complementary
#987E42 #428798 #534298
monochromatic
#43371D #6D5B2F #987E42 #B99E5E #CCB789
Accessibility & contrast
On white
3.89
#987E42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#987E42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987E42
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987E42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987E42 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7D3D
Deuteranopia (green-blind)
#918444
Tritanopia (blue-blind)
#A37570
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987e42; /* rgb */ color: rgb(152, 126, 66); /* oklch */ color: oklch(60.5% 0.085 86.3);
Tailwind
colors: {
custom: {
50: '#b9a378',
500: '#987e42',
950: '#000000',
},
}SCSS
$custom: #987e42; $custom-light: #b9a378; $custom-dark: #000000;
JSON
{
"hex": "#987e42",
"rgb": {
"r": 152,
"g": 126,
"b": 66
},
"hsl": {
"h": 41.86,
"s": 39.45,
"l": 42.745
},
"oklch": {
"l": 0.60452,
"c": 0.08508,
"h": 86.3
},
"luminance": 0.2199
}Semantic roles & 50–950 ramp
primary
#987E42
secondary
#7F90B7
accent
#7CCF58
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B