#987A2A#987A2A
#987A2A is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.3% C 0.103 H 87.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #987A2A |
|---|---|
| RGB | rgb(152, 122, 42) |
| HSL | hsl(44, 57%, 38%) |
| HSV | hsv(44, 72%, 60%) |
| CMYK | cmyk(0%, 19.7%, 72.4%, 40.4%) |
| CIE-LAB | lab(52.69, 2.94, 46.21) |
| CIE-LCH | lch(52.69, 46.30, 86.36°) |
| OKLab | oklab(59.33% 0.004 0.1032) |
| OKLCH | oklch(59.33% 0.103 87.8) |
| XYZ | xyz(20.3275, 20.7629, 5.1270) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 3.47
Hazel
#8E7618
ΔE00 3.49
Yellowish Brown
#9B7A01
ΔE00 3.65
Poo
#8F7303
ΔE00 4.27
Baby Poop
#937C00
ΔE00 4.82
Diarrhea
#9F8303
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A2A #2A4898
analogous
#98432A #987A2A #7F982A
triadic
#987A2A #2A987A #7A2A98
tetradic
#987A2A #2A9843 #2A4898 #982A7F
square
#987A2A #2A9843 #2A4898 #982A7F
split-complementary
#987A2A #2A7F98 #432A98
monochromatic
#382D10 #68541D #987A2A #C8A037 #D5B767
Accessibility & contrast
On white
4.08
#987A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#987A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A2A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A2A | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#A56F6A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987a2a; /* rgb */ color: rgb(152, 122, 42); /* oklch */ color: oklch(59.3% 0.103 87.8);
Tailwind
colors: {
custom: {
50: '#baa068',
500: '#987a2a',
950: '#000000',
},
}SCSS
$custom: #987a2a; $custom-light: #baa068; $custom-dark: #000000;
JSON
{
"hex": "#987a2a",
"rgb": {
"r": 152,
"g": 122,
"b": 42
},
"hsl": {
"h": 43.636,
"s": 56.701,
"l": 38.039
},
"oklch": {
"l": 0.59327,
"c": 0.10323,
"h": 87.8
},
"luminance": 0.20762
}Semantic roles & 50–950 ramp
primary
#987A2A
secondary
#627BBB
accent
#71E048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A