#987C2B#987C2B
#987C2B is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.8% C 0.104 H 89.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #987C2B |
|---|---|
| RGB | rgb(152, 124, 43) |
| HSL | hsl(45, 56%, 38%) |
| HSV | hsv(45, 72%, 60%) |
| CMYK | cmyk(0%, 18.4%, 71.7%, 40.4%) |
| CIE-LAB | lab(53.24, 1.86, 46.33) |
| CIE-LCH | lch(53.24, 46.37, 87.70°) |
| OKLab | oklab(59.76% 0.001 0.1036) |
| OKLCH | oklch(59.76% 0.104 89.4) |
| XYZ | xyz(20.5937, 21.2664, 5.3052) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 3.44
Puke Brown
#947706
ΔE00 3.52
Yellowish Brown
#9B7A01
ΔE00 3.65
Baby Poop
#937C00
ΔE00 4.33
Poo
#8F7303
ΔE00 4.50
Diarrhea
#9F8303
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987C2B #2B4798
analogous
#98452B #987C2B #7D982B
triadic
#987C2B #2B987C #7C2B98
tetradic
#987C2B #2B9845 #2B4798 #982B7D
square
#987C2B #2B9845 #2B4798 #982B7D
split-complementary
#987C2B #2B7D98 #452B98
monochromatic
#392E10 #68551E #987C2B #C7A339 #D5B969
Accessibility & contrast
On white
4.00
#987C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#987C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987C2B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987C2B | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B20
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #987c2b; /* rgb */ color: rgb(152, 124, 43); /* oklch */ color: oklch(59.8% 0.104 89.4);
Tailwind
colors: {
custom: {
50: '#baa169',
500: '#987c2b',
950: '#000000',
},
}SCSS
$custom: #987c2b; $custom-light: #baa169; $custom-dark: #000000;
JSON
{
"hex": "#987c2b",
"rgb": {
"r": 152,
"g": 124,
"b": 43
},
"hsl": {
"h": 44.587,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.59763,
"c": 0.1036,
"h": 89.4
},
"luminance": 0.21265
}Semantic roles & 50–950 ramp
primary
#987C2B
secondary
#647ABB
accent
#6FDF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A