#5EA531#5EA531
#5EA531 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.2% C 0.165 H 135.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5EA531 |
|---|---|
| RGB | rgb(94, 165, 49) |
| HSL | hsl(97, 54%, 42%) |
| HSV | hsv(97, 70%, 65%) |
| CMYK | cmyk(43%, 0%, 70.3%, 35.3%) |
| CIE-LAB | lab(61.23, -42.47, 50.74) |
| CIE-LCH | lch(61.23, 66.16, 129.93°) |
| OKLab | oklab(65.15% -0.1182 0.1152) |
| OKLCH | oklch(65.15% 0.165 135.7) |
| XYZ | xyz(18.6251, 29.5106, 7.6199) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.20
Lawn Green
#4DA409
ΔE00 2.99
Leaf
#71AA34
ΔE00 3.09
Leaf Green
#5CA904
ΔE00 3.50
Mid Green
#50A747
ΔE00 4.08
Fern (survey)
#63A950
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5EA531 #7831A5
analogous
#98A531 #5EA531 #31A53E
triadic
#5EA531 #315EA5 #A5315E
tetradic
#5EA531 #3198A5 #7831A5 #A53E31
square
#5EA531 #3198A5 #7831A5 #A53E31
split-complementary
#5EA531 #3E31A5 #A53198
monochromatic
#284715 #437623 #5EA531 #7BC94A #9ED779
Accessibility & contrast
On white
3.04
#5EA531 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#5EA531 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5EA531
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5EA531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5EA531 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB971F
Deuteranopia (green-blind)
#A1923C
Tritanopia (blue-blind)
#5C9F8E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5ea531; /* rgb */ color: rgb(94, 165, 49); /* oklch */ color: oklch(65.2% 0.165 135.7);
Tailwind
colors: {
custom: {
50: '#91c070',
500: '#5ea531',
950: '#000000',
},
}SCSS
$custom: #5ea531; $custom-light: #91c070; $custom-dark: #000000;
JSON
{
"hex": "#5ea531",
"rgb": {
"r": 94,
"g": 165,
"b": 49
},
"hsl": {
"h": 96.724,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.65153,
"c": 0.16506,
"h": 135.7
},
"luminance": 0.29512
}Semantic roles & 50–950 ramp
primary
#5EA531
secondary
#A272C0
accent
#4ADEA4
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B