#987B2A#987B2A
#987B2A is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.5% C 0.104 H 88.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #987B2A |
|---|---|
| RGB | rgb(152, 123, 42) |
| HSL | hsl(44, 57%, 38%) |
| HSV | hsv(44, 72%, 60%) |
| CMYK | cmyk(0%, 19.1%, 72.4%, 40.4%) |
| CIE-LAB | lab(52.96, 2.37, 46.48) |
| CIE-LCH | lch(52.96, 46.54, 87.08°) |
| OKLab | oklab(59.54% 0.0024 0.1037) |
| OKLCH | oklch(59.54% 0.104 88.7) |
| XYZ | xyz(20.4509, 21.0098, 5.1682) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 3.39
Puke Brown
#947706
ΔE00 3.40
Yellowish Brown
#9B7A01
ΔE00 3.55
Poo
#8F7303
ΔE00 4.31
Baby Poop
#937C00
ΔE00 4.49
Diarrhea
#9F8303
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987B2A #2A4798
analogous
#98442A #987B2A #7E982A
triadic
#987B2A #2A987B #7B2A98
tetradic
#987B2A #2A9844 #2A4798 #982A7E
square
#987B2A #2A9844 #2A4798 #982A7E
split-complementary
#987B2A #2A7E98 #442A98
monochromatic
#382D10 #68541D #987B2A #C8A237 #D5B867
Accessibility & contrast
On white
4.04
#987B2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#987B2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987B2A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987B2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987B2A | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A1F
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987b2a; /* rgb */ color: rgb(152, 123, 42); /* oklch */ color: oklch(59.5% 0.104 88.7);
Tailwind
colors: {
custom: {
50: '#baa069',
500: '#987b2a',
950: '#000000',
},
}SCSS
$custom: #987b2a; $custom-light: #baa069; $custom-dark: #000000;
JSON
{
"hex": "#987b2a",
"rgb": {
"r": 152,
"g": 123,
"b": 42
},
"hsl": {
"h": 44.182,
"s": 56.701,
"l": 38.039
},
"oklch": {
"l": 0.5954,
"c": 0.10377,
"h": 88.7
},
"luminance": 0.21008
}Semantic roles & 50–950 ramp
primary
#987B2A
secondary
#627ABB
accent
#70E048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A