#987C2A#987C2A
#987C2A is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.8% C 0.104 H 89.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #987C2A |
|---|---|
| RGB | rgb(152, 124, 42) |
| HSL | hsl(45, 57%, 38%) |
| HSV | hsv(45, 72%, 60%) |
| CMYK | cmyk(0%, 18.4%, 72.4%, 40.4%) |
| CIE-LAB | lab(53.23, 1.81, 46.76) |
| CIE-LCH | lch(53.23, 46.79, 87.79°) |
| OKLab | oklab(59.75% 0.0007 0.1043) |
| OKLCH | oklch(59.75% 0.104 89.6) |
| XYZ | xyz(20.5756, 21.2591, 5.2097) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 3.36
Puke Brown
#947706
ΔE00 3.40
Yellowish Brown
#9B7A01
ΔE00 3.52
Baby Poop
#937C00
ΔE00 4.20
Poo
#8F7303
ΔE00 4.41
Diarrhea
#9F8303
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987C2A #2A4698
analogous
#98452A #987C2A #7D982A
triadic
#987C2A #2A987C #7C2A98
tetradic
#987C2A #2A9845 #2A4698 #982A7D
square
#987C2A #2A9845 #2A4698 #982A7D
split-complementary
#987C2A #2A7D98 #452A98
monochromatic
#382E10 #68551D #987C2A #C8A337 #D5B967
Accessibility & contrast
On white
4.00
#987C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#987C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987C2A
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987C2A | 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)
#8A7B1F
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #987c2a; /* rgb */ color: rgb(152, 124, 42); /* oklch */ color: oklch(59.8% 0.104 89.6);
Tailwind
colors: {
custom: {
50: '#baa169',
500: '#987c2a',
950: '#000000',
},
}SCSS
$custom: #987c2a; $custom-light: #baa169; $custom-dark: #000000;
JSON
{
"hex": "#987c2a",
"rgb": {
"r": 152,
"g": 124,
"b": 42
},
"hsl": {
"h": 44.727,
"s": 56.701,
"l": 38.039
},
"oklch": {
"l": 0.59754,
"c": 0.10432,
"h": 89.6
},
"luminance": 0.21258
}Semantic roles & 50–950 ramp
primary
#987C2A
secondary
#6279BB
accent
#6FE048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A