#987945#987945
#987945 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.080 H 79.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #987945 |
|---|---|
| RGB | rgb(152, 121, 69) |
| HSL | hsl(38, 38%, 43%) |
| HSV | hsv(38, 55%, 60%) |
| CMYK | cmyk(0%, 20.4%, 54.6%, 40.4%) |
| CIE-LAB | lab(52.71, 5.45, 32.85) |
| CIE-LCH | lch(52.71, 33.30, 80.59°) |
| OKLab | oklab(59.44% 0.0149 0.0782) |
| OKLCH | oklch(59.44% 0.08 79.2) |
| XYZ | xyz(20.8614, 20.7810, 8.5414) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Coffee
#A6814C
ΔE00 3.92
Puce
#A57E52
ΔE00 4.79
Dirt
#8A6E45
ΔE00 5.17
Tan Brown
#AB7E4C
ΔE00 5.67
Mocha
#9D7651
ΔE00 5.83
Light Brown
#AD8150
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987945 #456498
analogous
#984F45 #987945 #8D9845
triadic
#987945 #459879 #794598
tetradic
#987945 #45984F #456498 #98458D
square
#987945 #45984F #456498 #98458D
split-complementary
#987945 #458D98 #4F4598
monochromatic
#44361F #6E5732 #987945 #B89862 #CBB48C
Accessibility & contrast
On white
4.07
#987945 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#987945 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987945
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987945 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867941
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#A4706D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #987945; /* rgb */ color: rgb(152, 121, 69); /* oklch */ color: oklch(59.4% 0.080 79.2);
Tailwind
colors: {
custom: {
50: '#b99f7a',
500: '#987945',
950: '#000000',
},
}SCSS
$custom: #987945; $custom-light: #b99f7a; $custom-dark: #000000;
JSON
{
"hex": "#987945",
"rgb": {
"r": 152,
"g": 121,
"b": 69
},
"hsl": {
"h": 37.59,
"s": 37.557,
"l": 43.333
},
"oklch": {
"l": 0.59435,
"c": 0.07964,
"h": 79.2
},
"luminance": 0.2078
}Semantic roles & 50–950 ramp
primary
#987945
secondary
#8296B6
accent
#85CE5A
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B