#5AB938#5AB938
#5AB938 is a light, vivid green. Relative luminance 0.372; OKLCH L 70.2% C 0.188 H 138.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB938 |
|---|---|
| RGB | rgb(90, 185, 56) |
| HSL | hsl(104, 54%, 47%) |
| HSV | hsv(104, 70%, 73%) |
| CMYK | cmyk(51.4%, 0%, 69.7%, 27.5%) |
| CIE-LAB | lab(67.39, -51.17, 54.34) |
| CIE-LCH | lch(67.39, 74.64, 133.28°) |
| OKLab | oklab(70.19% -0.141 0.1238) |
| OKLCH | oklch(70.19% 0.188 138.7) |
| XYZ | xyz(22.2784, 37.1554, 9.7384) |
| Luminance | 0.3716 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 1.30
Kelly Green
#4CBB17
ΔE00 2.60
Nasty Green
#70B23F
ΔE00 3.42
Frog Green
#58BC08
ΔE00 3.43
Turtle Green
#75B84F
ΔE00 3.67
Grass
#5CAC2D
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB938 #9738B9
analogous
#9BB938 #5AB938 #38B957
triadic
#5AB938 #385AB9 #B9385A
tetradic
#5AB938 #389BB9 #9738B9 #B95738
square
#5AB938 #389BB9 #9738B9 #B95738
split-complementary
#5AB938 #5738B9 #B9389B
monochromatic
#2C5B1C #438A2A #5AB938 #7DCF5F #A3DD8E
Accessibility & contrast
On white
2.49
#5AB938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#5AB938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB938
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB938 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#B2A144
Tritanopia (blue-blind)
#52B39F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #5ab938; /* rgb */ color: rgb(90, 185, 56); /* oklch */ color: oklch(70.2% 0.188 138.7);
Tailwind
colors: {
custom: {
50: '#91cf76',
500: '#5ab938',
950: '#000000',
},
}SCSS
$custom: #5ab938; $custom-light: #91cf76; $custom-dark: #000000;
JSON
{
"hex": "#5ab938",
"rgb": {
"r": 90,
"g": 185,
"b": 56
},
"hsl": {
"h": 104.186,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.70185,
"c": 0.18761,
"h": 138.7
},
"luminance": 0.37157
}Semantic roles & 50–950 ramp
primary
#5AB938
secondary
#B685C8
accent
#4BDDB6
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1409
muted
#7E827B