#9E9922#9E9922
#9E9922 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.132 H 107.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9922 |
|---|---|
| RGB | rgb(158, 153, 34) |
| HSL | hsl(58, 65%, 38%) |
| HSV | hsv(58, 78%, 62%) |
| CMYK | cmyk(0%, 3.2%, 78.5%, 38%) |
| CIE-LAB | lab(61.80, -11.68, 58.12) |
| CIE-LCH | lch(61.80, 59.28, 101.36°) |
| OKLab | oklab(66.67% -0.0387 0.1266) |
| OKLCH | oklch(66.67% 0.132 107) |
| XYZ | xyz(25.7816, 30.1680, 5.9780) |
| Luminance | 0.3017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.40
Vomit
#A2A415
ΔE00 3.79
Baby Poop Green
#8F9805
ΔE00 3.90
Puke
#A5A502
ΔE00 4.32
Baby Shit Green
#889717
ΔE00 5.51
Pea Soup Green
#94A617
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9922 #22279E
analogous
#9E5B22 #9E9922 #659E22
triadic
#9E9922 #229E99 #99229E
tetradic
#9E9922 #229E5B #22279E #9E2265
square
#9E9922 #229E5B #22279E #9E2265
split-complementary
#9E9922 #22659E #5B229E
monochromatic
#39370C #6C6817 #9E9922 #D0CA2D #DCD75E
Accessibility & contrast
On white
2.99
#9E9922 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#9E9922 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9922
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9922 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79301
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e9922; /* rgb */ color: rgb(158, 153, 34); /* oklch */ color: oklch(66.7% 0.132 107.0);
Tailwind
colors: {
custom: {
50: '#beb668',
500: '#9e9922',
950: '#000000',
},
}SCSS
$custom: #9e9922; $custom-light: #beb668; $custom-dark: #000000;
JSON
{
"hex": "#9e9922",
"rgb": {
"r": 158,
"g": 153,
"b": 34
},
"hsl": {
"h": 57.581,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.66668,
"c": 0.1324,
"h": 107
},
"luminance": 0.30167
}Semantic roles & 50–950 ramp
primary
#9E9922
secondary
#5B5FC1
accent
#47E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A