#987B2F#987B2F
#987B2F is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.6% C 0.100 H 87.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #987B2F |
|---|---|
| RGB | rgb(152, 123, 47) |
| HSL | hsl(43, 53%, 39%) |
| HSV | hsv(43, 69%, 60%) |
| CMYK | cmyk(0%, 19.1%, 69.1%, 40.4%) |
| CIE-LAB | lab(53.00, 2.66, 44.29) |
| CIE-LCH | lch(53.00, 44.37, 86.57°) |
| OKLab | oklab(59.59% 0.0038 0.1) |
| OKLCH | oklch(59.59% 0.1 87.8) |
| XYZ | xyz(20.5461, 21.0478, 5.6692) |
| Luminance | 0.2105 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 3.89
Puke Brown
#947706
ΔE00 4.10
Yellowish Brown
#9B7A01
ΔE00 4.27
Poo
#8F7303
ΔE00 4.86
Baby Poop
#937C00
ΔE00 5.21
Diarrhea
#9F8303
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987B2F #2F4C98
analogous
#98472F #987B2F #81982F
triadic
#987B2F #2F987B #7B2F98
tetradic
#987B2F #2F9847 #2F4C98 #982F81
square
#987B2F #2F9847 #2F4C98 #982F81
split-complementary
#987B2F #2F8198 #472F98
monochromatic
#3B2F12 #695521 #987B2F #C4A040 #D2B76F
Accessibility & contrast
On white
4.03
#987B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#987B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987B2F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987B2F | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #987b2f; /* rgb */ color: rgb(152, 123, 47); /* oklch */ color: oklch(59.6% 0.100 87.8);
Tailwind
colors: {
custom: {
50: '#baa06b',
500: '#987b2f',
950: '#000000',
},
}SCSS
$custom: #987b2f; $custom-light: #baa06b; $custom-dark: #000000;
JSON
{
"hex": "#987b2f",
"rgb": {
"r": 152,
"g": 123,
"b": 47
},
"hsl": {
"h": 43.429,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.59586,
"c": 0.10007,
"h": 87.8
},
"luminance": 0.21047
}Semantic roles & 50–950 ramp
primary
#987B2F
secondary
#697FBA
accent
#74DC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A