#987B2B#987B2B
#987B2B is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.5% C 0.103 H 88.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #987B2B |
|---|---|
| RGB | rgb(152, 123, 43) |
| HSL | hsl(44, 56%, 38%) |
| HSV | hsv(44, 72%, 60%) |
| CMYK | cmyk(0%, 19.1%, 71.7%, 40.4%) |
| CIE-LAB | lab(52.97, 2.43, 46.05) |
| CIE-LCH | lch(52.97, 46.12, 86.99°) |
| OKLab | oklab(59.55% 0.0026 0.103) |
| OKLCH | oklch(59.55% 0.103 88.5) |
| XYZ | xyz(20.4690, 21.0170, 5.2636) |
| Luminance | 0.2102 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 3.48
Puke Brown
#947706
ΔE00 3.53
Yellowish Brown
#9B7A01
ΔE00 3.69
Poo
#8F7303
ΔE00 4.41
Baby Poop
#937C00
ΔE00 4.63
Diarrhea
#9F8303
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987B2B #2B4898
analogous
#98452B #987B2B #7E982B
triadic
#987B2B #2B987B #7B2B98
tetradic
#987B2B #2B9845 #2B4898 #982B7E
square
#987B2B #2B9845 #2B4898 #982B7E
split-complementary
#987B2B #2B7E98 #452B98
monochromatic
#392E10 #68541E #987B2B #C7A139 #D5B869
Accessibility & contrast
On white
4.04
#987B2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#987B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987B2B
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987B2B | 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)
#897A20
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#A5706B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987b2b; /* rgb */ color: rgb(152, 123, 43); /* oklch */ color: oklch(59.5% 0.103 88.5);
Tailwind
colors: {
custom: {
50: '#baa069',
500: '#987b2b',
950: '#000000',
},
}SCSS
$custom: #987b2b; $custom-light: #baa069; $custom-dark: #000000;
JSON
{
"hex": "#987b2b",
"rgb": {
"r": 152,
"g": 123,
"b": 43
},
"hsl": {
"h": 44.037,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.59549,
"c": 0.10305,
"h": 88.5
},
"luminance": 0.21016
}Semantic roles & 50–950 ramp
primary
#987B2B
secondary
#647BBB
accent
#71DF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A