#5EA52A#5EA52A
#5EA52A is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.1% C 0.170 H 135.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5EA52A |
|---|---|
| RGB | rgb(94, 165, 42) |
| HSL | hsl(95, 59%, 41%) |
| HSV | hsv(95, 75%, 65%) |
| CMYK | cmyk(43%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(61.18, -42.97, 53.33) |
| CIE-LCH | lch(61.18, 68.49, 128.86°) |
| OKLab | oklab(65.1% -0.12 0.1197) |
| OKLCH | oklch(65.1% 0.17 135.1) |
| XYZ | xyz(18.4887, 29.4561, 6.9014) |
| Luminance | 0.2946 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.11
Lawn Green
#4DA409
ΔE00 2.44
Leaf Green
#5CA904
ΔE00 2.77
Leaf
#71AA34
ΔE00 2.91
Grassy Green
#419C03
ΔE00 4.32
Nasty Green
#70B23F
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5EA52A #712AA5
analogous
#9BA52A #5EA52A #2AA533
triadic
#5EA52A #2A5EA5 #A52A5E
tetradic
#5EA52A #2A9BA5 #712AA5 #A5332A
square
#5EA52A #2A9BA5 #712AA5 #A5332A
split-complementary
#5EA52A #332AA5 #A52A9B
monochromatic
#264311 #42741E #5EA52A #7BCE3E #9CDA6F
Accessibility & contrast
On white
3.05
#5EA52A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#5EA52A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5EA52A
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5EA52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5EA52A | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9711
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#5C9F8D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5ea52a; /* rgb */ color: rgb(94, 165, 42); /* oklch */ color: oklch(65.1% 0.170 135.1);
Tailwind
colors: {
custom: {
50: '#92c06c',
500: '#5ea52a',
950: '#000000',
},
}SCSS
$custom: #5ea52a; $custom-light: #92c06c; $custom-dark: #000000;
JSON
{
"hex": "#5ea52a",
"rgb": {
"r": 94,
"g": 165,
"b": 42
},
"hsl": {
"h": 94.634,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.65099,
"c": 0.1695,
"h": 135.1
},
"luminance": 0.29457
}Semantic roles & 50–950 ramp
primary
#5EA52A
secondary
#9C69C1
accent
#45E3A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A