#5AB931#5AB931
#5AB931 is a light, vivid green. Relative luminance 0.371; OKLCH L 70.1% C 0.192 H 138.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB931 |
|---|---|
| RGB | rgb(90, 185, 49) |
| HSL | hsl(102, 58%, 46%) |
| HSV | hsv(102, 74%, 73%) |
| CMYK | cmyk(51.4%, 0%, 73.5%, 27.5%) |
| CIE-LAB | lab(67.35, -51.70, 56.91) |
| CIE-LCH | lch(67.35, 76.88, 132.26°) |
| OKLab | oklab(70.13% -0.1429 0.1282) |
| OKLCH | oklch(70.13% 0.192 138.1) |
| XYZ | xyz(22.1190, 37.0917, 8.8990) |
| Luminance | 0.3709 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 1.87
Kelly Green
#4CBB17
ΔE00 2.00
Frog Green
#58BC08
ΔE00 2.71
Nasty Green
#70B23F
ΔE00 3.49
Kermit Green
#5CB200
ΔE00 3.50
Grass
#5CAC2D
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB931 #9031B9
analogous
#9EB931 #5AB931 #31B94C
triadic
#5AB931 #315AB9 #B9315A
tetradic
#5AB931 #319EB9 #9031B9 #B94C31
square
#5AB931 #319EB9 #9031B9 #B94C31
split-complementary
#5AB931 #4C31B9 #B9319E
monochromatic
#2B5817 #428924 #5AB931 #7BD255 #A0DF86
Accessibility & contrast
On white
2.49
#5AB931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#5AB931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB931
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB931 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#B3A13F
Tritanopia (blue-blind)
#53B39F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #5ab931; /* rgb */ color: rgb(90, 185, 49); /* oklch */ color: oklch(70.1% 0.192 138.1);
Tailwind
colors: {
custom: {
50: '#92cf72',
500: '#5ab931',
950: '#000000',
},
}SCSS
$custom: #5ab931; $custom-light: #92cf72; $custom-dark: #000000;
JSON
{
"hex": "#5ab931",
"rgb": {
"r": 90,
"g": 185,
"b": 49
},
"hsl": {
"h": 101.912,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.70131,
"c": 0.19196,
"h": 138.1
},
"luminance": 0.37093
}Semantic roles & 50–950 ramp
primary
#5AB931
secondary
#B27DC8
accent
#46E1B3
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B