#5AB42F#5AB42F
#5AB42F is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.187 H 137.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB42F |
|---|---|
| RGB | rgb(90, 180, 47) |
| HSL | hsl(101, 59%, 45%) |
| HSV | hsv(101, 74%, 71%) |
| CMYK | cmyk(50%, 0%, 73.9%, 29.4%) |
| CIE-LAB | lab(65.76, -49.92, 56.04) |
| CIE-LCH | lch(65.76, 75.05, 131.70°) |
| OKLab | oklab(68.83% -0.1382 0.1261) |
| OKLCH | oklch(68.83% 0.187 137.6) |
| XYZ | xyz(21.0501, 35.0199, 8.3391) |
| Luminance | 0.3502 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 2.00
Grass
#5CAC2D
ΔE00 2.30
Kelly Green
#4CBB17
ΔE00 2.74
Nasty Green
#70B23F
ΔE00 2.89
Kermit Green
#5CB200
ΔE00 2.96
Frog Green
#58BC08
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB42F #892FB4
analogous
#9CB42F #5AB42F #2FB447
triadic
#5AB42F #2F5AB4 #B42F5A
tetradic
#5AB42F #2F9CB4 #892FB4 #B4472F
square
#5AB42F #2F9CB4 #892FB4 #B4472F
split-complementary
#5AB42F #472FB4 #B42F9C
monochromatic
#295316 #428322 #5AB42F #79D14F #9EDE80
Accessibility & contrast
On white
2.62
#5AB42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#5AB42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB42F
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB42F | 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)
#BAA415
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#54AE9A
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #5ab42f; /* rgb */ color: rgb(90, 180, 47); /* oklch */ color: oklch(68.8% 0.187 137.6);
Tailwind
colors: {
custom: {
50: '#91cb70',
500: '#5ab42f',
950: '#000000',
},
}SCSS
$custom: #5ab42f; $custom-light: #91cb70; $custom-dark: #000000;
JSON
{
"hex": "#5ab42f",
"rgb": {
"r": 90,
"g": 180,
"b": 47
},
"hsl": {
"h": 100.602,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.68825,
"c": 0.18709,
"h": 137.6
},
"luminance": 0.35021
}Semantic roles & 50–950 ramp
primary
#5AB42F
secondary
#AD78C7
accent
#46E2AF
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B