#9E8920#9E8920
#9E8920 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.120 H 97.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8920 |
|---|---|
| RGB | rgb(158, 137, 32) |
| HSL | hsl(50, 66%, 37%) |
| HSV | hsv(50, 80%, 62%) |
| CMYK | cmyk(0%, 13.3%, 79.7%, 38%) |
| CIE-LAB | lab(57.33, -3.13, 54.74) |
| CIE-LCH | lch(57.33, 54.83, 93.27°) |
| OKLab | oklab(63.12% -0.0148 0.119) |
| OKLCH | oklch(63.12% 0.12 97.1) |
| XYZ | xyz(23.3082, 25.2660, 5.0153) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.00
Dark Mustard
#A88905
ΔE00 3.44
Baby Poo
#AB9004
ΔE00 3.93
Baby Shit Brown
#AD900D
ΔE00 4.12
Yellowy Brown
#AE8B0C
ΔE00 4.65
Baby Poop
#937C00
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8920 #20359E
analogous
#9E4A20 #9E8920 #749E20
triadic
#9E8920 #209E89 #89209E
tetradic
#9E8920 #209E4A #20359E #9E2074
square
#9E8920 #209E4A #20359E #9E2074
split-complementary
#9E8920 #20749E #4A209E
monochromatic
#38310B #6B5D16 #9E8920 #D1B52A #DEC85B
Accessibility & contrast
On white
3.47
#9E8920 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#9E8920 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8920
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8920 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8920 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988606
Deuteranopia (green-blind)
#9D8D27
Tritanopia (blue-blind)
#AB7E75
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8920; /* rgb */ color: rgb(158, 137, 32); /* oklch */ color: oklch(63.1% 0.120 97.1);
Tailwind
colors: {
custom: {
50: '#bfab65',
500: '#9e8920',
950: '#000000',
},
}SCSS
$custom: #9e8920; $custom-light: #bfab65; $custom-dark: #000000;
JSON
{
"hex": "#9e8920",
"rgb": {
"r": 158,
"g": 137,
"b": 32
},
"hsl": {
"h": 50,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.63116,
"c": 0.11992,
"h": 97.1
},
"luminance": 0.25265
}Semantic roles & 50–950 ramp
primary
#9E8920
secondary
#586AC2
accent
#5BE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A