#5ABC31#5ABC31
#5ABC31 is a light, vivid green. Relative luminance 0.384; OKLCH L 70.9% C 0.196 H 138.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5ABC31 |
|---|---|
| RGB | rgb(90, 188, 49) |
| HSL | hsl(102, 59%, 46%) |
| HSV | hsv(102, 74%, 74%) |
| CMYK | cmyk(52.1%, 0%, 73.9%, 26.3%) |
| CIE-LAB | lab(68.29, -52.84, 57.84) |
| CIE-LCH | lch(68.29, 78.34, 132.41°) |
| OKLab | oklab(70.9% -0.1459 0.1301) |
| OKLCH | oklch(70.9% 0.196 138.3) |
| XYZ | xyz(22.7532, 38.3601, 9.1104) |
| Luminance | 0.3836 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Kelly Green
#4CBB17
ΔE00 1.83
Leafy Green
#51B73B
ΔE00 2.32
Frog Green
#58BC08
ΔE00 2.47
Kermit Green
#5CB200
ΔE00 3.92
Nasty Green
#70B23F
ΔE00 4.04
Apple
#6ECB3C
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5ABC31 #9331BC
analogous
#A0BC31 #5ABC31 #31BC4E
triadic
#5ABC31 #315ABC #BC315A
tetradic
#5ABC31 #31A0BC #9331BC #BC4E31
square
#5ABC31 #31A0BC #9331BC #BC4E31
split-complementary
#5ABC31 #4E31BC #BC31A0
monochromatic
#2C5B18 #438B24 #5ABC31 #7CD357 #A2E088
Accessibility & contrast
On white
2.42
#5ABC31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#5ABC31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5ABC31
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5ABC31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5ABC31 | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#B5A33F
Tritanopia (blue-blind)
#52B5A1
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #5abc31; /* rgb */ color: rgb(90, 188, 49); /* oklch */ color: oklch(70.9% 0.196 138.3);
Tailwind
colors: {
custom: {
50: '#92d172',
500: '#5abc31',
950: '#000000',
},
}SCSS
$custom: #5abc31; $custom-light: #92d172; $custom-dark: #000000;
JSON
{
"hex": "#5abc31",
"rgb": {
"r": 90,
"g": 188,
"b": 49
},
"hsl": {
"h": 102.302,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.70904,
"c": 0.19555,
"h": 138.3
},
"luminance": 0.38362
}Semantic roles & 50–950 ramp
primary
#5ABC31
secondary
#B47FCA
accent
#46E2B4
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B