#987840#987840
#987840 is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.2% C 0.084 H 80.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #987840 |
|---|---|
| RGB | rgb(152, 120, 64) |
| HSL | hsl(38, 41%, 42%) |
| HSV | hsv(38, 58%, 60%) |
| CMYK | cmyk(0%, 21.1%, 57.9%, 40.4%) |
| CIE-LAB | lab(52.38, 5.58, 35.12) |
| CIE-LCH | lch(52.38, 35.56, 80.97°) |
| OKLab | oklab(59.15% 0.0146 0.0827) |
| OKLCH | oklch(59.15% 0.084 80) |
| XYZ | xyz(20.5918, 20.4798, 7.7179) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 4.27
Puce
#A57E52
ΔE00 5.40
Dirt
#8A6E45
ΔE00 5.42
Tan Brown
#AB7E4C
ΔE00 6.01
Mocha
#9D7651
ΔE00 6.44
Light Brown
#AD8150
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987840 #406098
analogous
#984C40 #987840 #8C9840
triadic
#987840 #409878 #784098
tetradic
#987840 #40984C #406098 #98408C
square
#987840 #40984C #406098 #98408C
split-complementary
#987840 #408C98 #4C4098
monochromatic
#42341C #6D562E #987840 #BA985B #CCB386
Accessibility & contrast
On white
4.12
#987840 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#987840 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987840
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987840 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85783B
Deuteranopia (green-blind)
#8D8042
Tritanopia (blue-blind)
#A46F6B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #987840; /* rgb */ color: rgb(152, 120, 64); /* oklch */ color: oklch(59.2% 0.084 80.0);
Tailwind
colors: {
custom: {
50: '#b99e76',
500: '#987840',
950: '#000000',
},
}SCSS
$custom: #987840; $custom-light: #b99e76; $custom-dark: #000000;
JSON
{
"hex": "#987840",
"rgb": {
"r": 152,
"g": 120,
"b": 64
},
"hsl": {
"h": 38.182,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.59152,
"c": 0.08401,
"h": 80
},
"luminance": 0.20479
}Semantic roles & 50–950 ramp
primary
#987840
secondary
#7D92B7
accent
#83D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B