#987540#987540
#987540 is a mid, moderate orange. Relative luminance 0.198; OKLCH L 58.5% C 0.083 H 76.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #987540 |
|---|---|
| RGB | rgb(152, 117, 64) |
| HSL | hsl(36, 41%, 42%) |
| HSV | hsv(36, 58%, 60%) |
| CMYK | cmyk(0%, 23%, 57.9%, 40.4%) |
| CIE-LAB | lab(51.58, 7.29, 34.16) |
| CIE-LCH | lch(51.58, 34.93, 77.96°) |
| OKLab | oklab(58.53% 0.0197 0.0806) |
| OKLCH | oklch(58.53% 0.083 76.3) |
| XYZ | xyz(20.2366, 19.7695, 7.5995) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dirt
#8A6E45
ΔE00 4.54
Coffee
#A6814C
ΔE00 4.67
Puce
#A57E52
ΔE00 4.95
Mocha
#9D7651
ΔE00 5.23
Tan Brown
#AB7E4C
ΔE00 5.54
Dull Brown
#876E4B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987540 #406398
analogous
#984940 #987540 #8F9840
triadic
#987540 #409875 #754098
tetradic
#987540 #409849 #406398 #98408F
square
#987540 #409849 #406398 #98408F
split-complementary
#987540 #408F98 #494098
monochromatic
#42331C #6D542E #987540 #BA945B #CCB086
Accessibility & contrast
On white
4.24
#987540 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#987540 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987540
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987540 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#8B7E41
Tritanopia (blue-blind)
#A46C69
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #987540; /* rgb */ color: rgb(152, 117, 64); /* oklch */ color: oklch(58.5% 0.083 76.3);
Tailwind
colors: {
custom: {
50: '#b99c76',
500: '#987540',
950: '#000000',
},
}SCSS
$custom: #987540; $custom-light: #b99c76; $custom-dark: #000000;
JSON
{
"hex": "#987540",
"rgb": {
"r": 152,
"g": 117,
"b": 64
},
"hsl": {
"h": 36.136,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.58525,
"c": 0.083,
"h": 76.3
},
"luminance": 0.19768
}Semantic roles & 50–950 ramp
primary
#987540
secondary
#7D94B7
accent
#87D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B