#9EA42C#9EA42C
#9EA42C is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.138 H 112.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA42C |
|---|---|
| RGB | rgb(158, 164, 44) |
| HSL | hsl(63, 58%, 41%) |
| HSV | hsv(63, 73%, 64%) |
| CMYK | cmyk(3.7%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(64.96, -16.96, 57.68) |
| CIE-LCH | lch(64.96, 60.13, 106.39°) |
| OKLab | oklab(69.22% -0.0525 0.1276) |
| OKLCH | oklch(69.22% 0.138 112.4) |
| XYZ | xyz(27.8315, 34.0025, 7.4794) |
| Luminance | 0.3400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Pea Soup Green
#94A617
ΔE00 2.94
Puke
#A5A502
ΔE00 3.36
Pea Soup
#929901
ΔE00 3.97
Baby Poop Green
#8F9805
ΔE00 4.30
Puke Green
#9AAE07
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA42C #322CA4
analogous
#A46E2C #9EA42C #62A42C
triadic
#9EA42C #2C9EA4 #A42C9E
tetradic
#9EA42C #2CA46E #322CA4 #A42C62
square
#9EA42C #2CA46E #322CA4 #A42C62
split-complementary
#9EA42C #2C62A4 #6E2CA4
monochromatic
#414312 #70741F #9EA42C #C5CC41 #D4D971
Accessibility & contrast
On white
2.69
#9EA42C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#9EA42C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA42C
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA42C | 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)
#B19C15
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ea42c; /* rgb */ color: rgb(158, 164, 44); /* oklch */ color: oklch(69.2% 0.138 112.4);
Tailwind
colors: {
custom: {
50: '#bebe6e',
500: '#9ea42c',
950: '#000000',
},
}SCSS
$custom: #9ea42c; $custom-light: #bebe6e; $custom-dark: #000000;
JSON
{
"hex": "#9ea42c",
"rgb": {
"r": 158,
"g": 164,
"b": 44
},
"hsl": {
"h": 63,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.69215,
"c": 0.13795,
"h": 112.4
},
"luminance": 0.34002
}Semantic roles & 50–950 ramp
primary
#9EA42C
secondary
#706BC0
accent
#47E14F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B