#9EA22A#9EA22A
#9EA22A is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.137 H 111.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA22A |
|---|---|
| RGB | rgb(158, 162, 42) |
| HSL | hsl(62, 59%, 40%) |
| HSV | hsv(62, 74%, 64%) |
| CMYK | cmyk(2.5%, 0%, 74.1%, 36.5%) |
| CIE-LAB | lab(64.39, -16.03, 57.84) |
| CIE-LCH | lch(64.39, 60.02, 105.49°) |
| OKLab | oklab(68.75% -0.0501 0.1275) |
| OKLCH | oklch(68.75% 0.137 111.4) |
| XYZ | xyz(27.4397, 33.2776, 7.1678) |
| Luminance | 0.3328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.06
Puke
#A5A502
ΔE00 3.17
Pea Soup Green
#94A617
ΔE00 3.40
Pea Soup
#929901
ΔE00 3.52
Baby Poop Green
#8F9805
ΔE00 3.91
Puke Green
#9AAE07
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA22A #2E2AA2
analogous
#A26A2A #9EA22A #62A22A
triadic
#9EA22A #2A9EA2 #A22A9E
tetradic
#9EA22A #2AA26A #2E2AA2 #A22A62
square
#9EA22A #2AA26A #2E2AA2 #A22A62
split-complementary
#9EA22A #2A62A2 #6A2AA2
monochromatic
#3F4111 #6F711D #9EA22A #C8CD3D #D6D96D
Accessibility & contrast
On white
2.74
#9EA22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#9EA22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA22A
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA22A | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B11
Deuteranopia (green-blind)
#AF9E34
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ea22a; /* rgb */ color: rgb(158, 162, 42); /* oklch */ color: oklch(68.7% 0.137 111.4);
Tailwind
colors: {
custom: {
50: '#bebd6d',
500: '#9ea22a',
950: '#000000',
},
}SCSS
$custom: #9ea22a; $custom-light: #bebd6d; $custom-dark: #000000;
JSON
{
"hex": "#9ea22a",
"rgb": {
"r": 158,
"g": 162,
"b": 42
},
"hsl": {
"h": 62,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.68747,
"c": 0.13702,
"h": 111.4
},
"luminance": 0.33277
}Semantic roles & 50–950 ramp
primary
#9EA22A
secondary
#6B68C0
accent
#46E24B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A