#9E9B22#9E9B22
#9E9B22 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.134 H 108.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9B22 |
|---|---|
| RGB | rgb(158, 155, 34) |
| HSL | hsl(59, 65%, 38%) |
| HSV | hsv(59, 78%, 62%) |
| CMYK | cmyk(0%, 1.9%, 78.5%, 38%) |
| CIE-LAB | lab(62.36, -12.73, 58.63) |
| CIE-LCH | lch(62.36, 60.00, 102.25°) |
| OKLab | oklab(67.12% -0.0416 0.1277) |
| OKLCH | oklch(67.12% 0.134 108) |
| XYZ | xyz(26.1117, 30.8282, 6.0880) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.05
Vomit
#A2A415
ΔE00 3.11
Baby Poop Green
#8F9805
ΔE00 3.59
Puke
#A5A502
ΔE00 3.73
Baby Shit Green
#889717
ΔE00 5.21
Pea Soup Green
#94A617
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9B22 #22259E
analogous
#9E5D22 #9E9B22 #639E22
triadic
#9E9B22 #229E9B #9B229E
tetradic
#9E9B22 #229E5D #22259E #9E2263
square
#9E9B22 #229E5D #22259E #9E2263
split-complementary
#9E9B22 #22639E #5D229E
monochromatic
#39380C #6C6A17 #9E9B22 #D0CC2D #DCD95E
Accessibility & contrast
On white
2.93
#9E9B22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#9E9B22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9B22
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9B22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9B22 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89500
Deuteranopia (green-blind)
#AA992C
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e9b22; /* rgb */ color: rgb(158, 155, 34); /* oklch */ color: oklch(67.1% 0.134 108.0);
Tailwind
colors: {
custom: {
50: '#beb868',
500: '#9e9b22',
950: '#000000',
},
}SCSS
$custom: #9e9b22; $custom-light: #beb868; $custom-dark: #000000;
JSON
{
"hex": "#9e9b22",
"rgb": {
"r": 158,
"g": 155,
"b": 34
},
"hsl": {
"h": 58.548,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.67118,
"c": 0.13432,
"h": 108
},
"luminance": 0.30827
}Semantic roles & 50–950 ramp
primary
#9E9B22
secondary
#5B5DC1
accent
#44E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A