#9E8A36#9E8A36
#9E8A36 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.106 H 95.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A36 |
|---|---|
| RGB | rgb(158, 138, 54) |
| HSL | hsl(48, 49%, 42%) |
| HSV | hsv(48, 66%, 62%) |
| CMYK | cmyk(0%, 12.7%, 65.8%, 38%) |
| CIE-LAB | lab(57.76, -2.55, 46.32) |
| CIE-LCH | lch(57.76, 46.39, 93.15°) |
| OKLab | oklab(63.51% -0.0107 0.1053) |
| OKLCH | oklch(63.51% 0.106 95.8) |
| XYZ | xyz(23.8560, 25.7136, 7.1960) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.89
Dark Mustard
#A88905
ΔE00 5.21
Dark Khaki
#9B8F55
ΔE00 5.46
Baby Shit Brown
#AD900D
ΔE00 5.67
Baby Poo
#AB9004
ΔE00 5.71
Yellowy Brown
#AE8B0C
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A36 #364A9E
analogous
#9E5636 #9E8A36 #7E9E36
triadic
#9E8A36 #369E8A #8A369E
tetradic
#9E8A36 #369E56 #364A9E #9E367E
square
#9E8A36 #369E56 #364A9E #9E367E
split-complementary
#9E8A36 #367E9E #56369E
monochromatic
#433A17 #706226 #9E8A36 #C3AC4F #D2C27C
Accessibility & contrast
On white
3.42
#9E8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9E8A36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A36
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A36 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98872C
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a36; /* rgb */ color: rgb(158, 138, 54); /* oklch */ color: oklch(63.5% 0.106 95.8);
Tailwind
colors: {
custom: {
50: '#beab71',
500: '#9e8a36',
950: '#000000',
},
}SCSS
$custom: #9e8a36; $custom-light: #beab71; $custom-dark: #000000;
JSON
{
"hex": "#9e8a36",
"rgb": {
"r": 158,
"g": 138,
"b": 54
},
"hsl": {
"h": 48.462,
"s": 49.057,
"l": 41.569
},
"oklch": {
"l": 0.63506,
"c": 0.10583,
"h": 95.8
},
"luminance": 0.25712
}Semantic roles & 50–950 ramp
primary
#9E8A36
secondary
#7482BB
accent
#6AD94F
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B