#9EA02A#9EA02A
#9EA02A is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.135 H 110.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA02A |
|---|---|
| RGB | rgb(158, 160, 42) |
| HSL | hsl(61, 58%, 40%) |
| HSV | hsv(61, 74%, 63%) |
| CMYK | cmyk(1.2%, 0%, 73.8%, 37.3%) |
| CIE-LAB | lab(63.82, -14.99, 57.30) |
| CIE-LCH | lch(63.82, 59.23, 104.66°) |
| OKLab | oklab(68.29% -0.0472 0.1264) |
| OKLCH | oklch(68.29% 0.135 110.5) |
| XYZ | xyz(27.0902, 32.5786, 7.0513) |
| Luminance | 0.3258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Pea Soup
#929901
ΔE00 3.28
Puke
#A5A502
ΔE00 3.30
Baby Poop Green
#8F9805
ΔE00 3.70
Pea Soup Green
#94A617
ΔE00 4.00
Baby Shit Green
#889717
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA02A #2C2AA0
analogous
#A0672A #9EA02A #63A02A
triadic
#9EA02A #2A9EA0 #A02A9E
tetradic
#9EA02A #2AA067 #2C2AA0 #A02A63
square
#9EA02A #2AA067 #2C2AA0 #A02A63
split-complementary
#9EA02A #2A63A0 #672AA0
monochromatic
#3E3F11 #6E701D #9EA02A #C9CC3C #D7D86C
Accessibility & contrast
On white
2.79
#9EA02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#9EA02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA02A
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA02A | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#A99689
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ea02a; /* rgb */ color: rgb(158, 160, 42); /* oklch */ color: oklch(68.3% 0.135 110.5);
Tailwind
colors: {
custom: {
50: '#bebb6d',
500: '#9ea02a',
950: '#000000',
},
}SCSS
$custom: #9ea02a; $custom-light: #bebb6d; $custom-dark: #000000;
JSON
{
"hex": "#9ea02a",
"rgb": {
"r": 158,
"g": 160,
"b": 42
},
"hsl": {
"h": 61.017,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.68294,
"c": 0.13493,
"h": 110.5
},
"luminance": 0.32578
}Semantic roles & 50–950 ramp
primary
#9EA02A
secondary
#6867BF
accent
#46E249
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A