#987E34#987E34
#987E34 is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.3% C 0.098 H 89.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #987E34 |
|---|---|
| RGB | rgb(152, 126, 52) |
| HSL | hsl(44, 49%, 40%) |
| HSV | hsv(44, 66%, 60%) |
| CMYK | cmyk(0%, 17.1%, 65.8%, 40.4%) |
| CIE-LAB | lab(53.86, 1.28, 42.87) |
| CIE-LCH | lch(53.86, 42.88, 88.29°) |
| OKLab | oklab(60.28% 0.0005 0.0978) |
| OKLCH | oklch(60.28% 0.098 89.7) |
| XYZ | xyz(21.0306, 21.8462, 6.3572) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 4.36
Puke Brown
#947706
ΔE00 4.79
Yellowish Brown
#9B7A01
ΔE00 4.92
Baby Poop
#937C00
ΔE00 5.23
Diarrhea
#9F8303
ΔE00 5.61
Poo
#8F7303
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987E34 #344E98
analogous
#984C34 #987E34 #809834
triadic
#987E34 #34987E #7E3498
tetradic
#987E34 #34984C #344E98 #983480
square
#987E34 #34984C #344E98 #983480
split-complementary
#987E34 #348098 #4C3498
monochromatic
#3D3215 #6A5824 #987E34 #C1A149 #D0B976
Accessibility & contrast
On white
3.91
#987E34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#987E34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987E34
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987E34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987E34 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#A4746E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987e34; /* rgb */ color: rgb(152, 126, 52); /* oklch */ color: oklch(60.3% 0.098 89.7);
Tailwind
colors: {
custom: {
50: '#b9a36f',
500: '#987e34',
950: '#000000',
},
}SCSS
$custom: #987e34; $custom-light: #b9a36f; $custom-dark: #000000;
JSON
{
"hex": "#987e34",
"rgb": {
"r": 152,
"g": 126,
"b": 52
},
"hsl": {
"h": 44.4,
"s": 49.02,
"l": 40
},
"oklch": {
"l": 0.6028,
"c": 0.09782,
"h": 89.7
},
"luminance": 0.21845
}Semantic roles & 50–950 ramp
primary
#987E34
secondary
#6F82B9
accent
#73D94F
background
#FBFAF6
surface
#F7F3EC
border
#D0CDC7
text
#120F07
muted
#817F7A