#987A45#987A45
#987A45 is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.6% C 0.080 H 80.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #987A45 |
|---|---|
| RGB | rgb(152, 122, 69) |
| HSL | hsl(38, 38%, 43%) |
| HSV | hsv(38, 55%, 60%) |
| CMYK | cmyk(0%, 19.7%, 54.6%, 40.4%) |
| CIE-LAB | lab(52.98, 4.88, 33.17) |
| CIE-LCH | lch(52.98, 33.53, 81.64°) |
| OKLab | oklab(59.65% 0.0132 0.079) |
| OKLCH | oklch(59.65% 0.08 80.5) |
| XYZ | xyz(20.9835, 21.0253, 8.5821) |
| Luminance | 0.2102 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 3.92
Puce
#A57E52
ΔE00 5.07
Dirt
#8A6E45
ΔE00 5.54
Tan Brown
#AB7E4C
ΔE00 5.92
Light Brown
#AD8150
ΔE00 6.30
Dark Tan
#AF884A
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A45 #456398
analogous
#985045 #987A45 #8C9845
triadic
#987A45 #45987A #7A4598
tetradic
#987A45 #459850 #456398 #98458C
square
#987A45 #459850 #456398 #98458C
split-complementary
#987A45 #458C98 #504598
monochromatic
#44361F #6E5832 #987A45 #B89962 #CBB48C
Accessibility & contrast
On white
4.03
#987A45 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#987A45 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A45
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A45 | 1.00 | 4.03 | 5.20 | 5.20 |
| #FFFFFF | 4.03 | 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)
#877A40
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#A3716D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987a45; /* rgb */ color: rgb(152, 122, 69); /* oklch */ color: oklch(59.6% 0.080 80.5);
Tailwind
colors: {
custom: {
50: '#b8a07a',
500: '#987a45',
950: '#000000',
},
}SCSS
$custom: #987a45; $custom-light: #b8a07a; $custom-dark: #000000;
JSON
{
"hex": "#987a45",
"rgb": {
"r": 152,
"g": 122,
"b": 69
},
"hsl": {
"h": 38.313,
"s": 37.557,
"l": 43.333
},
"oklch": {
"l": 0.59646,
"c": 0.08006,
"h": 80.5
},
"luminance": 0.21024
}Semantic roles & 50–950 ramp
primary
#987A45
secondary
#8295B6
accent
#84CE5A
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B