#9E9A19#9E9A19
#9E9A19 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.137 H 107.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9A19 |
|---|---|
| RGB | rgb(158, 154, 25) |
| HSL | hsl(58, 73%, 36%) |
| HSV | hsv(58, 84%, 62%) |
| CMYK | cmyk(0%, 2.5%, 84.2%, 38%) |
| CIE-LAB | lab(62.04, -12.51, 60.91) |
| CIE-LCH | lch(62.04, 62.18, 101.61°) |
| OKLab | oklab(66.85% -0.0417 0.1309) |
| OKLCH | oklch(66.85% 0.137 107.7) |
| XYZ | xyz(25.8327, 30.4514, 5.4365) |
| Luminance | 0.3045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.02
Vomit
#A2A415
ΔE00 3.24
Baby Poop Green
#8F9805
ΔE00 3.64
Puke
#A5A502
ΔE00 3.68
Baby Shit Green
#889717
ΔE00 5.46
Pea Soup Green
#94A617
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9A19 #191D9E
analogous
#9E5719 #9E9A19 #609E19
triadic
#9E9A19 #199E9A #9A199E
tetradic
#9E9A19 #199E57 #191D9E #9E1960
square
#9E9A19 #199E57 #191D9E #9E1960
split-complementary
#9E9A19 #19609E #57199E
monochromatic
#343308 #696611 #9E9A19 #D3CD21 #E3DF4E
Accessibility & contrast
On white
2.96
#9E9A19 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#9E9A19 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9A19
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9A19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9A19 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#AA8F83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9e9a19; /* rgb */ color: rgb(158, 154, 25); /* oklch */ color: oklch(66.8% 0.137 107.7);
Tailwind
colors: {
custom: {
50: '#bfb765',
500: '#9e9a19',
950: '#000000',
},
}SCSS
$custom: #9e9a19; $custom-light: #bfb765; $custom-dark: #000000;
JSON
{
"hex": "#9e9a19",
"rgb": {
"r": 158,
"g": 154,
"b": 25
},
"hsl": {
"h": 58.195,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.66849,
"c": 0.13741,
"h": 107.7
},
"luminance": 0.3045
}Semantic roles & 50–950 ramp
primary
#9E9A19
secondary
#4E51C5
accent
#3EEF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A