#5AB162#5AB162
#5AB162 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.7% C 0.141 H 145.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB162 |
|---|---|
| RGB | rgb(90, 177, 98) |
| HSL | hsl(126, 36%, 52%) |
| HSV | hsv(126, 49%, 69%) |
| CMYK | cmyk(49.2%, 0%, 44.6%, 30.6%) |
| CIE-LAB | lab(65.36, -43.02, 32.48) |
| CIE-LCH | lch(65.36, 53.90, 142.95°) |
| OKLab | oklab(68.66% -0.1168 0.0796) |
| OKLCH | oklch(68.66% 0.141 145.7) |
| XYZ | xyz(22.1420, 34.4981, 17.0449) |
| Luminance | 0.3450 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Boring Green
#63B365
ΔE00 1.16
Dark Pastel Green
#56AE57
ΔE00 1.79
Fern
#63B76C
ΔE00 2.08
Algae
#54AC68
ΔE00 2.56
Cool Green
#33B864
ΔE00 3.83
Fern (survey)
#63A950
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB162 #B15AA9
analogous
#7EB15A #5AB162 #5AB18D
triadic
#5AB162 #625AB1 #B1625A
tetradic
#5AB162 #5A7EB1 #B15AA9 #B18D5A
square
#5AB162 #5A7EB1 #B15AA9 #B18D5A
split-complementary
#5AB162 #8D5AB1 #B15A7E
monochromatic
#2E6233 #428C49 #5AB162 #84C58A #ADD8B1
Accessibility & contrast
On white
2.66
#5AB162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#5AB162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB162
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB162 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A45C
Deuteranopia (green-blind)
#A79B67
Tritanopia (blue-blind)
#4CAD9E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #5ab162; /* rgb */ color: rgb(90, 177, 98); /* oklch */ color: oklch(68.7% 0.141 145.7);
Tailwind
colors: {
custom: {
50: '#8ec990',
500: '#5ab162',
950: '#000000',
},
}SCSS
$custom: #5ab162; $custom-light: #8ec990; $custom-dark: #000000;
JSON
{
"hex": "#5ab162",
"rgb": {
"r": 90,
"g": 177,
"b": 98
},
"hsl": {
"h": 125.517,
"s": 35.802,
"l": 52.353
},
"oklch": {
"l": 0.68661,
"c": 0.14139,
"h": 145.7
},
"luminance": 0.345
}Semantic roles & 50–950 ramp
primary
#5AB162
secondary
#C6A0C3
accent
#5CC2CC
background
#F9FCF8
surface
#F1F8F0
border
#CBD1CB
text
#0D130C
muted
#7E827D