#5AB22E#5AB22E
#5AB22E is a light, vivid green. Relative luminance 0.342; OKLCH L 68.3% C 0.185 H 137.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB22E |
|---|---|
| RGB | rgb(90, 178, 46) |
| HSL | hsl(100, 59%, 44%) |
| HSV | hsv(100, 74%, 70%) |
| CMYK | cmyk(49.4%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(65.13, -49.21, 55.76) |
| CIE-LCH | lch(65.13, 74.37, 131.43°) |
| OKLab | oklab(68.3% -0.1364 0.1254) |
| OKLCH | oklch(68.3% 0.185 137.4) |
| XYZ | xyz(20.6293, 34.2103, 8.1004) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.74
Leafy Green
#51B73B
ΔE00 2.31
Nasty Green
#70B23F
ΔE00 2.81
Kermit Green
#5CB200
ΔE00 2.88
Kelly Green
#4CBB17
ΔE00 3.15
Leaf Green
#5CA904
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB22E #862EB2
analogous
#9CB22E #5AB22E #2EB244
triadic
#5AB22E #2E5AB2 #B22E5A
tetradic
#5AB22E #2E9CB2 #862EB2 #B2442E
square
#5AB22E #2E9CB2 #862EB2 #B2442E
split-complementary
#5AB22E #442EB2 #B22E9C
monochromatic
#295115 #418121 #5AB22E #79D14C #9DDD7D
Accessibility & contrast
On white
2.68
#5AB22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#5AB22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB22E
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB22E | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A314
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#54AC99
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5ab22e; /* rgb */ color: rgb(90, 178, 46); /* oklch */ color: oklch(68.3% 0.185 137.4);
Tailwind
colors: {
custom: {
50: '#91ca70',
500: '#5ab22e',
950: '#000000',
},
}SCSS
$custom: #5ab22e; $custom-light: #91ca70; $custom-dark: #000000;
JSON
{
"hex": "#5ab22e",
"rgb": {
"r": 90,
"g": 178,
"b": 46
},
"hsl": {
"h": 100,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.68301,
"c": 0.18524,
"h": 137.4
},
"luminance": 0.34212
}Semantic roles & 50–950 ramp
primary
#5AB22E
secondary
#AB76C6
accent
#46E2AE
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B