#5AB831#5AB831
#5AB831 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.9% C 0.191 H 138.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB831 |
|---|---|
| RGB | rgb(90, 184, 49) |
| HSL | hsl(102, 58%, 46%) |
| HSV | hsv(102, 73%, 72%) |
| CMYK | cmyk(51.1%, 0%, 73.4%, 27.8%) |
| CIE-LAB | lab(67.03, -51.32, 56.59) |
| CIE-LCH | lch(67.03, 76.40, 132.20°) |
| OKLab | oklab(69.87% -0.1418 0.1275) |
| OKLCH | oklch(69.87% 0.191 138) |
| XYZ | xyz(21.9106, 36.6748, 8.8295) |
| Luminance | 0.3668 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 1.78
Kelly Green
#4CBB17
ΔE00 2.12
Frog Green
#58BC08
ΔE00 2.85
Nasty Green
#70B23F
ΔE00 3.33
Kermit Green
#5CB200
ΔE00 3.39
Grass
#5CAC2D
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB831 #8F31B8
analogous
#9DB831 #5AB831 #31B84B
triadic
#5AB831 #315AB8 #B8315A
tetradic
#5AB831 #319DB8 #8F31B8 #B84B31
square
#5AB831 #319DB8 #8F31B8 #B84B31
split-complementary
#5AB831 #4B31B8 #B8319D
monochromatic
#2B5717 #428824 #5AB831 #7BD255 #A0DE85
Accessibility & contrast
On white
2.52
#5AB831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#5AB831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB831
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB831 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#53B29E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #5ab831; /* rgb */ color: rgb(90, 184, 49); /* oklch */ color: oklch(69.9% 0.191 138.0);
Tailwind
colors: {
custom: {
50: '#91ce72',
500: '#5ab831',
950: '#000000',
},
}SCSS
$custom: #5ab831; $custom-light: #91ce72; $custom-dark: #000000;
JSON
{
"hex": "#5ab831",
"rgb": {
"r": 90,
"g": 184,
"b": 49
},
"hsl": {
"h": 101.778,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.69873,
"c": 0.19075,
"h": 138
},
"luminance": 0.36676
}Semantic roles & 50–950 ramp
primary
#5AB831
secondary
#B17DC8
accent
#47E1B2
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B