#5AB12F#5AB12F
#5AB12F is a light, vivid green. Relative luminance 0.338; OKLCH L 68.0% C 0.183 H 137.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB12F |
|---|---|
| RGB | rgb(90, 177, 47) |
| HSL | hsl(100, 58%, 44%) |
| HSV | hsv(100, 73%, 69%) |
| CMYK | cmyk(49.2%, 0%, 73.4%, 30.6%) |
| CIE-LAB | lab(64.82, -48.75, 55.10) |
| CIE-LCH | lch(64.82, 73.57, 131.50°) |
| OKLab | oklab(68.05% -0.135 0.1241) |
| OKLCH | oklch(68.05% 0.183 137.4) |
| XYZ | xyz(20.4510, 33.8217, 8.1394) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.47
Leafy Green
#51B73B
ΔE00 2.41
Nasty Green
#70B23F
ΔE00 2.78
Kermit Green
#5CB200
ΔE00 3.04
Kelly Green
#4CBB17
ΔE00 3.45
Leaf Green
#5CA904
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB12F #862FB1
analogous
#9BB12F #5AB12F #2FB145
triadic
#5AB12F #2F5AB1 #B12F5A
tetradic
#5AB12F #2F9BB1 #862FB1 #B1452F
square
#5AB12F #2F9BB1 #862FB1 #B1452F
split-complementary
#5AB12F #452FB1 #B12F9B
monochromatic
#295015 #418122 #5AB12F #79D04D #9DDD7E
Accessibility & contrast
On white
2.70
#5AB12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#5AB12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB12F
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB12F | 1.00 | 2.70 | 7.76 | 7.76 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#AB9B3C
Tritanopia (blue-blind)
#54AB98
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #5ab12f; /* rgb */ color: rgb(90, 177, 47); /* oklch */ color: oklch(68.0% 0.183 137.4);
Tailwind
colors: {
custom: {
50: '#91c970',
500: '#5ab12f',
950: '#000000',
},
}SCSS
$custom: #5ab12f; $custom-light: #91c970; $custom-dark: #000000;
JSON
{
"hex": "#5ab12f",
"rgb": {
"r": 90,
"g": 177,
"b": 47
},
"hsl": {
"h": 100.154,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.68049,
"c": 0.18343,
"h": 137.4
},
"luminance": 0.33823
}Semantic roles & 50–950 ramp
primary
#5AB12F
secondary
#AB76C5
accent
#47E1AE
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B