#9EA42B#9EA42B
#9EA42B 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 | #9EA42B |
|---|---|
| RGB | rgb(158, 164, 43) |
| HSL | hsl(63, 58%, 41%) |
| HSV | hsv(63, 74%, 64%) |
| CMYK | cmyk(3.7%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(64.96, -17.01, 58.03) |
| CIE-LCH | lch(64.96, 60.47, 106.34°) |
| OKLab | oklab(69.21% -0.0527 0.1281) |
| OKLCH | oklch(69.21% 0.139 112.4) |
| XYZ | xyz(27.8129, 33.9951, 7.3816) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.18
Pea Soup Green
#94A617
ΔE00 2.91
Puke
#A5A502
ΔE00 3.28
Pea Soup
#929901
ΔE00 3.92
Baby Poop Green
#8F9805
ΔE00 4.26
Puke Green
#9AAE07
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA42B #312BA4
analogous
#A46D2B #9EA42B #61A42B
triadic
#9EA42B #2B9EA4 #A42B9E
tetradic
#9EA42B #2BA46D #312BA4 #A42B61
square
#9EA42B #2BA46D #312BA4 #A42B61
split-complementary
#9EA42B #2B61A4 #6D2BA4
monochromatic
#414312 #6F741E #9EA42B #C6CD3F #D4D970
Accessibility & contrast
On white
2.69
#9EA42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#9EA42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA42B
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA42B | 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)
#B19C12
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea42b; /* rgb */ color: rgb(158, 164, 43); /* oklch */ color: oklch(69.2% 0.139 112.4);
Tailwind
colors: {
custom: {
50: '#bebe6e',
500: '#9ea42b',
950: '#000000',
},
}SCSS
$custom: #9ea42b; $custom-light: #bebe6e; $custom-dark: #000000;
JSON
{
"hex": "#9ea42b",
"rgb": {
"r": 158,
"g": 164,
"b": 43
},
"hsl": {
"h": 62.975,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.69208,
"c": 0.13855,
"h": 112.4
},
"luminance": 0.33994
}Semantic roles & 50–950 ramp
primary
#9EA42B
secondary
#6E6AC1
accent
#46E24E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B