#987A4C#987A4C
#987A4C is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.073 H 77.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #987A4C |
|---|---|
| RGB | rgb(152, 122, 76) |
| HSL | hsl(36, 33%, 45%) |
| HSV | hsv(36, 50%, 60%) |
| CMYK | cmyk(0%, 19.7%, 50%, 40.4%) |
| CIE-LAB | lab(53.08, 5.54, 29.49) |
| CIE-LCH | lch(53.08, 30.00, 79.35°) |
| OKLab | oklab(59.76% 0.016 0.0713) |
| OKLCH | oklch(59.76% 0.073 77.3) |
| XYZ | xyz(21.2138, 21.1174, 9.7948) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 3.86
Puce
#A57E52
ΔE00 4.02
Mocha
#9D7651
ΔE00 4.86
Dirt
#8A6E45
ΔE00 4.96
Tan Brown
#AB7E4C
ΔE00 5.34
Light Brown
#AD8150
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A4C #4C6A98
analogous
#98544C #987A4C #90984C
triadic
#987A4C #4C987A #7A4C98
tetradic
#987A4C #4C9854 #4C6A98 #984C90
square
#987A4C #4C9854 #4C6A98 #984C90
split-complementary
#987A4C #4C9098 #544C98
monochromatic
#463923 #6F5938 #987A4C #B5986C #CAB595
Accessibility & contrast
On white
4.02
#987A4C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#987A4C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A4C
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A4C | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867A48
Deuteranopia (green-blind)
#8D824D
Tritanopia (blue-blind)
#A3726F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #987a4c; /* rgb */ color: rgb(152, 122, 76); /* oklch */ color: oklch(59.8% 0.073 77.3);
Tailwind
colors: {
custom: {
50: '#b8a07f',
500: '#987a4c',
950: '#000000',
},
}SCSS
$custom: #987a4c; $custom-light: #b8a07f; $custom-dark: #000000;
JSON
{
"hex": "#987a4c",
"rgb": {
"r": 152,
"g": 122,
"b": 76
},
"hsl": {
"h": 36.316,
"s": 33.333,
"l": 44.706
},
"oklch": {
"l": 0.59758,
"c": 0.07307,
"h": 77.3
},
"luminance": 0.21116
}Semantic roles & 50–950 ramp
primary
#987A4C
secondary
#8A9BB6
accent
#89C95E
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E0A
muted
#817E7C