#987A2F#987A2F
#987A2F is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.100 H 86.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #987A2F |
|---|---|
| RGB | rgb(152, 122, 47) |
| HSL | hsl(43, 53%, 39%) |
| HSV | hsv(43, 69%, 60%) |
| CMYK | cmyk(0%, 19.7%, 69.1%, 40.4%) |
| CIE-LAB | lab(52.73, 3.22, 44.00) |
| CIE-LCH | lch(52.73, 44.12, 85.81°) |
| OKLab | oklab(59.37% 0.0055 0.0994) |
| OKLCH | oklch(59.37% 0.1 86.9) |
| XYZ | xyz(20.4226, 20.8010, 5.6281) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 4.03
Puke Brown
#947706
ΔE00 4.21
Yellowish Brown
#9B7A01
ΔE00 4.39
Poo
#8F7303
ΔE00 4.87
Baby Poop
#937C00
ΔE00 5.54
Bronze (survey)
#A87900
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A2F #2F4D98
analogous
#98462F #987A2F #82982F
triadic
#987A2F #2F987A #7A2F98
tetradic
#987A2F #2F9846 #2F4D98 #982F82
square
#987A2F #2F9846 #2F4D98 #982F82
split-complementary
#987A2F #2F8298 #462F98
monochromatic
#3B2F12 #695421 #987A2F #C49E40 #D2B66F
Accessibility & contrast
On white
4.07
#987A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#987A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A2F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A2F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987a2f; /* rgb */ color: rgb(152, 122, 47); /* oklch */ color: oklch(59.4% 0.100 86.9);
Tailwind
colors: {
custom: {
50: '#baa06b',
500: '#987a2f',
950: '#000000',
},
}SCSS
$custom: #987a2f; $custom-light: #baa06b; $custom-dark: #000000;
JSON
{
"hex": "#987a2f",
"rgb": {
"r": 152,
"g": 122,
"b": 47
},
"hsl": {
"h": 42.857,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.59373,
"c": 0.09955,
"h": 86.9
},
"luminance": 0.208
}Semantic roles & 50–950 ramp
primary
#987A2F
secondary
#6980BA
accent
#75DC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A