#9E9919#9E9919
#9E9919 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.136 H 107.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9919 |
|---|---|
| RGB | rgb(158, 153, 25) |
| HSL | hsl(58, 73%, 36%) |
| HSV | hsv(58, 84%, 62%) |
| CMYK | cmyk(0%, 3.2%, 84.2%, 38%) |
| CIE-LAB | lab(61.76, -11.98, 60.67) |
| CIE-LCH | lch(61.76, 61.84, 101.17°) |
| OKLab | oklab(66.63% -0.0402 0.1304) |
| OKLCH | oklch(66.63% 0.136 107.1) |
| XYZ | xyz(25.6684, 30.1227, 5.3817) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.22
Vomit
#A2A415
ΔE00 3.60
Baby Poop Green
#8F9805
ΔE00 3.80
Puke
#A5A502
ΔE00 3.99
Baby Shit Green
#889717
ΔE00 5.62
Pea Soup Green
#94A617
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9919 #191E9E
analogous
#9E5619 #9E9919 #609E19
triadic
#9E9919 #199E99 #99199E
tetradic
#9E9919 #199E56 #191E9E #9E1960
square
#9E9919 #199E56 #191E9E #9E1960
split-complementary
#9E9919 #19609E #56199E
monochromatic
#343308 #696611 #9E9919 #D3CC21 #E3DD4E
Accessibility & contrast
On white
2.99
#9E9919 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#9E9919 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9919
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9919 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9919 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A99726
Tritanopia (blue-blind)
#AA8E82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e9919; /* rgb */ color: rgb(158, 153, 25); /* oklch */ color: oklch(66.6% 0.136 107.1);
Tailwind
colors: {
custom: {
50: '#bfb664',
500: '#9e9919',
950: '#000000',
},
}SCSS
$custom: #9e9919; $custom-light: #bfb664; $custom-dark: #000000;
JSON
{
"hex": "#9e9919",
"rgb": {
"r": 158,
"g": 153,
"b": 25
},
"hsl": {
"h": 57.744,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.66625,
"c": 0.13648,
"h": 107.1
},
"luminance": 0.30122
}Semantic roles & 50–950 ramp
primary
#9E9919
secondary
#4E52C5
accent
#3FEF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A