#5EA227#5EA227
#5EA227 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.3% C 0.167 H 134.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5EA227 |
|---|---|
| RGB | rgb(94, 162, 39) |
| HSL | hsl(93, 61%, 39%) |
| HSV | hsv(93, 76%, 64%) |
| CMYK | cmyk(42%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(60.22, -41.91, 53.44) |
| CIE-LCH | lch(60.22, 67.92, 128.11°) |
| OKLab | oklab(64.3% -0.1174 0.1195) |
| OKLCH | oklch(64.3% 0.167 134.5) |
| XYZ | xyz(17.9023, 28.3659, 6.4509) |
| Luminance | 0.2837 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.44
Grass
#5CAC2D
ΔE00 3.04
Leaf Green
#5CA904
ΔE00 3.11
Leaf
#71AA34
ΔE00 3.38
Grassy Green
#419C03
ΔE00 3.82
Grass Green
#3F9B0B
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5EA227 #6B27A2
analogous
#9CA227 #5EA227 #27A22E
triadic
#5EA227 #275EA2 #A2275E
tetradic
#5EA227 #279CA2 #6B27A2 #A22E27
square
#5EA227 #279CA2 #6B27A2 #A22E27
split-complementary
#5EA227 #2E27A2 #A2279C
monochromatic
#253F0F #41711B #5EA227 #7BCF37 #9CDB69
Accessibility & contrast
On white
3.15
#5EA227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#5EA227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5EA227
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5EA227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5EA227 | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8950C
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#5D9C8B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5ea227; /* rgb */ color: rgb(94, 162, 39); /* oklch */ color: oklch(64.3% 0.167 134.5);
Tailwind
colors: {
custom: {
50: '#92be6a',
500: '#5ea227',
950: '#000000',
},
}SCSS
$custom: #5ea227; $custom-light: #92be6a; $custom-dark: #000000;
JSON
{
"hex": "#5ea227",
"rgb": {
"r": 94,
"g": 162,
"b": 39
},
"hsl": {
"h": 93.171,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.64303,
"c": 0.16748,
"h": 134.5
},
"luminance": 0.28367
}Semantic roles & 50–950 ramp
primary
#5EA227
secondary
#9764C1
accent
#43E49C
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A