#9E9A20#9E9A20
#9E9A20 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.9% C 0.134 H 107.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9A20 |
|---|---|
| RGB | rgb(158, 154, 32) |
| HSL | hsl(58, 66%, 37%) |
| HSV | hsv(58, 80%, 62%) |
| CMYK | cmyk(0%, 2.5%, 79.7%, 38%) |
| CIE-LAB | lab(62.07, -12.28, 58.99) |
| CIE-LCH | lch(62.07, 60.25, 101.76°) |
| OKLab | oklab(66.88% -0.0405 0.1281) |
| OKLCH | oklch(66.88% 0.134 107.5) |
| XYZ | xyz(25.9179, 30.4855, 5.8853) |
| Luminance | 0.3049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.15
Vomit
#A2A415
ΔE00 3.38
Baby Poop Green
#8F9805
ΔE00 3.69
Puke
#A5A502
ΔE00 3.93
Baby Shit Green
#889717
ΔE00 5.37
Pea Soup Green
#94A617
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9A20 #20249E
analogous
#9E5B20 #9E9A20 #639E20
triadic
#9E9A20 #209E9A #9A209E
tetradic
#9E9A20 #209E5B #20249E #9E2063
square
#9E9A20 #209E5B #20249E #9E2063
split-complementary
#9E9A20 #20639E #5B209E
monochromatic
#38370B #6B6816 #9E9A20 #D1CC2A #DEDA5B
Accessibility & contrast
On white
2.96
#9E9A20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#9E9A20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9A20
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9A20 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#AA8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9e9a20; /* rgb */ color: rgb(158, 154, 32); /* oklch */ color: oklch(66.9% 0.134 107.5);
Tailwind
colors: {
custom: {
50: '#beb767',
500: '#9e9a20',
950: '#000000',
},
}SCSS
$custom: #9e9a20; $custom-light: #beb767; $custom-dark: #000000;
JSON
{
"hex": "#9e9a20",
"rgb": {
"r": 158,
"g": 154,
"b": 32
},
"hsl": {
"h": 58.095,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.66882,
"c": 0.13435,
"h": 107.5
},
"luminance": 0.30485
}Semantic roles & 50–950 ramp
primary
#9E9A20
secondary
#585BC2
accent
#44E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A