#5EA42C#5EA42C
#5EA42C is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.9% C 0.167 H 135.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5EA42C |
|---|---|
| RGB | rgb(94, 164, 44) |
| HSL | hsl(95, 58%, 41%) |
| HSV | hsv(95, 73%, 64%) |
| CMYK | cmyk(42.7%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(60.88, -42.42, 52.30) |
| CIE-LCH | lch(60.88, 67.34, 129.05°) |
| OKLab | oklab(64.85% -0.1184 0.1178) |
| OKLCH | oklch(64.85% 0.167 135.1) |
| XYZ | xyz(18.3458, 29.1114, 7.0348) |
| Luminance | 0.2911 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.41
Lawn Green
#4DA409
ΔE00 2.60
Leaf
#71AA34
ΔE00 3.08
Leaf Green
#5CA904
ΔE00 3.14
Grassy Green
#419C03
ΔE00 4.22
Grass Green
#3F9B0B
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5EA42C #722CA4
analogous
#9AA42C #5EA42C #2CA436
triadic
#5EA42C #2C5EA4 #A42C5E
tetradic
#5EA42C #2C9AA4 #722CA4 #A4362C
square
#5EA42C #2C9AA4 #722CA4 #A4362C
split-complementary
#5EA42C #362CA4 #A42C9A
monochromatic
#274312 #42741F #5EA42C #7BCC41 #9DD971
Accessibility & contrast
On white
3.08
#5EA42C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#5EA42C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5EA42C
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5EA42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5EA42C | 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)
#AA9616
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#5C9E8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5ea42c; /* rgb */ color: rgb(94, 164, 44); /* oklch */ color: oklch(64.9% 0.167 135.1);
Tailwind
colors: {
custom: {
50: '#92bf6d',
500: '#5ea42c',
950: '#000000',
},
}SCSS
$custom: #5ea42c; $custom-light: #92bf6d; $custom-dark: #000000;
JSON
{
"hex": "#5ea42c",
"rgb": {
"r": 94,
"g": 164,
"b": 44
},
"hsl": {
"h": 95,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.64855,
"c": 0.16703,
"h": 135.1
},
"luminance": 0.29112
}Semantic roles & 50–950 ramp
primary
#5EA42C
secondary
#9D6BC0
accent
#47E1A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A