#9EA42A#9EA42A
#9EA42A is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.139 H 112.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA42A |
|---|---|
| RGB | rgb(158, 164, 42) |
| HSL | hsl(63, 59%, 40%) |
| HSV | hsv(63, 74%, 64%) |
| CMYK | cmyk(3.7%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(64.95, -17.06, 58.38) |
| CIE-LCH | lch(64.95, 60.82, 106.29°) |
| OKLab | oklab(69.2% -0.0529 0.1287) |
| OKLCH | oklch(69.2% 0.139 112.4) |
| XYZ | xyz(27.7948, 33.9878, 7.2862) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.10
Pea Soup Green
#94A617
ΔE00 2.88
Puke
#A5A502
ΔE00 3.20
Pea Soup
#929901
ΔE00 3.88
Puke Green
#9AAE07
ΔE00 4.23
Baby Poop Green
#8F9805
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA42A #302AA4
analogous
#A46D2A #9EA42A #61A42A
triadic
#9EA42A #2A9EA4 #A42A9E
tetradic
#9EA42A #2AA46D #302AA4 #A42A61
square
#9EA42A #2AA46D #302AA4 #A42A61
split-complementary
#9EA42A #2A61A4 #6D2AA4
monochromatic
#404311 #6F731E #9EA42A #C6CD3E #D5DA6E
Accessibility & contrast
On white
2.69
#9EA42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#9EA42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA42A
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA42A | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea42a; /* rgb */ color: rgb(158, 164, 42); /* oklch */ color: oklch(69.2% 0.139 112.4);
Tailwind
colors: {
custom: {
50: '#bebe6d',
500: '#9ea42a',
950: '#000000',
},
}SCSS
$custom: #9ea42a; $custom-light: #bebe6d; $custom-dark: #000000;
JSON
{
"hex": "#9ea42a",
"rgb": {
"r": 158,
"g": 164,
"b": 42
},
"hsl": {
"h": 62.951,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.69202,
"c": 0.13914,
"h": 112.4
},
"luminance": 0.33987
}Semantic roles & 50–950 ramp
primary
#9EA42A
secondary
#6D69C1
accent
#45E24D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B