#5AB42E#5AB42E
#5AB42E is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.188 H 137.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB42E |
|---|---|
| RGB | rgb(90, 180, 46) |
| HSL | hsl(100, 59%, 44%) |
| HSV | hsv(100, 74%, 71%) |
| CMYK | cmyk(50%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(65.76, -49.99, 56.39) |
| CIE-LCH | lch(65.76, 75.35, 131.56°) |
| OKLab | oklab(68.82% -0.1384 0.1267) |
| OKLCH | oklch(68.82% 0.188 137.5) |
| XYZ | xyz(21.0302, 35.0119, 8.2340) |
| Luminance | 0.3501 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 2.08
Grass
#5CAC2D
ΔE00 2.30
Kelly Green
#4CBB17
ΔE00 2.68
Kermit Green
#5CB200
ΔE00 2.86
Nasty Green
#70B23F
ΔE00 2.92
Frog Green
#58BC08
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB42E #882EB4
analogous
#9DB42E #5AB42E #2EB445
triadic
#5AB42E #2E5AB4 #B42E5A
tetradic
#5AB42E #2E9DB4 #882EB4 #B4452E
square
#5AB42E #2E9DB4 #882EB4 #B4452E
split-complementary
#5AB42E #452EB4 #B42E9D
monochromatic
#295315 #428322 #5AB42E #79D24E #9EDE7E
Accessibility & contrast
On white
2.62
#5AB42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#5AB42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB42E
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB42E | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA413
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#54AE9A
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #5ab42e; /* rgb */ color: rgb(90, 180, 46); /* oklch */ color: oklch(68.8% 0.188 137.5);
Tailwind
colors: {
custom: {
50: '#91cb70',
500: '#5ab42e',
950: '#000000',
},
}SCSS
$custom: #5ab42e; $custom-light: #91cb70; $custom-dark: #000000;
JSON
{
"hex": "#5ab42e",
"rgb": {
"r": 90,
"g": 180,
"b": 46
},
"hsl": {
"h": 100.299,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.68818,
"c": 0.18766,
"h": 137.5
},
"luminance": 0.35013
}Semantic roles & 50–950 ramp
primary
#5AB42E
secondary
#AD77C7
accent
#45E2AF
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B