#987E33#987E33
#987E33 is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.3% C 0.099 H 89.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #987E33 |
|---|---|
| RGB | rgb(152, 126, 51) |
| HSL | hsl(45, 50%, 40%) |
| HSV | hsv(45, 66%, 60%) |
| CMYK | cmyk(0%, 17.1%, 66.4%, 40.4%) |
| CIE-LAB | lab(53.85, 1.22, 43.33) |
| CIE-LCH | lch(53.85, 43.35, 88.39°) |
| OKLab | oklab(60.27% 0.0002 0.0987) |
| OKLCH | oklch(60.27% 0.099 89.9) |
| XYZ | xyz(21.0084, 21.8373, 6.2398) |
| Luminance | 0.2184 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Hazel
#8E7618
ΔE00 4.25
Puke Brown
#947706
ΔE00 4.65
Yellowish Brown
#9B7A01
ΔE00 4.78
Baby Poop
#937C00
ΔE00 5.07
Diarrhea
#9F8303
ΔE00 5.46
Poo
#8F7303
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987E33 #334D98
analogous
#984B33 #987E33 #809833
triadic
#987E33 #33987E #7E3398
tetradic
#987E33 #33984B #334D98 #983380
square
#987E33 #33984B #334D98 #983380
split-complementary
#987E33 #338098 #4B3398
monochromatic
#3C3214 #6A5824 #987E33 #C1A247 #D1B975
Accessibility & contrast
On white
3.91
#987E33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#987E33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987E33
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987E33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987E33 | 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)
#8C7C2A
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#A4746E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987e33; /* rgb */ color: rgb(152, 126, 51); /* oklch */ color: oklch(60.3% 0.099 89.9);
Tailwind
colors: {
custom: {
50: '#b9a36e',
500: '#987e33',
950: '#000000',
},
}SCSS
$custom: #987e33; $custom-light: #b9a36e; $custom-dark: #000000;
JSON
{
"hex": "#987e33",
"rgb": {
"r": 152,
"g": 126,
"b": 51
},
"hsl": {
"h": 44.554,
"s": 49.754,
"l": 39.804
},
"oklch": {
"l": 0.60269,
"c": 0.09865,
"h": 89.9
},
"luminance": 0.21836
}Semantic roles & 50–950 ramp
primary
#987E33
secondary
#6E81B9
accent
#72D94F
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120F07
muted
#817E7A