#5EA42A#5EA42A
#5EA42A is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.8% C 0.168 H 135.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5EA42A |
|---|---|
| RGB | rgb(94, 164, 42) |
| HSL | hsl(94, 59%, 40%) |
| HSV | hsv(94, 74%, 64%) |
| CMYK | cmyk(42.7%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(60.87, -42.56, 53.02) |
| CIE-LCH | lch(60.87, 67.99, 128.75°) |
| OKLab | oklab(64.84% -0.1189 0.119) |
| OKLCH | oklch(64.84% 0.168 135) |
| XYZ | xyz(18.3091, 29.0968, 6.8415) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.41
Lawn Green
#4DA409
ΔE00 2.46
Leaf Green
#5CA904
ΔE00 2.95
Leaf
#71AA34
ΔE00 3.05
Grassy Green
#419C03
ΔE00 4.16
Grass Green
#3F9B0B
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5EA42A #702AA4
analogous
#9BA42A #5EA42A #2AA433
triadic
#5EA42A #2A5EA4 #A42A5E
tetradic
#5EA42A #2A9BA4 #702AA4 #A4332A
square
#5EA42A #2A9BA4 #702AA4 #A4332A
split-complementary
#5EA42A #332AA4 #A42A9B
monochromatic
#264311 #42731E #5EA42A #7BCD3E #9CDA6E
Accessibility & contrast
On white
3.08
#5EA42A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#5EA42A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5EA42A
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5EA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5EA42A | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#5C9E8C
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5ea42a; /* rgb */ color: rgb(94, 164, 42); /* oklch */ color: oklch(64.8% 0.168 135.0);
Tailwind
colors: {
custom: {
50: '#92bf6c',
500: '#5ea42a',
950: '#000000',
},
}SCSS
$custom: #5ea42a; $custom-light: #92bf6c; $custom-dark: #000000;
JSON
{
"hex": "#5ea42a",
"rgb": {
"r": 94,
"g": 164,
"b": 42
},
"hsl": {
"h": 94.426,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.64841,
"c": 0.16824,
"h": 135
},
"luminance": 0.29098
}Semantic roles & 50–950 ramp
primary
#5EA42A
secondary
#9B69C1
accent
#45E29F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A