#5A8A71#5A8A71
#5A8A71 is a mid, moderate green. Relative luminance 0.215; OKLCH L 59.2% C 0.065 H 160.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8A71 |
|---|---|
| RGB | rgb(90, 138, 113) |
| HSL | hsl(149, 21%, 45%) |
| HSV | hsv(149, 35%, 54%) |
| CMYK | cmyk(34.8%, 0%, 18.1%, 45.9%) |
| CIE-LAB | lab(53.54, -22.03, 8.29) |
| CIE-LCH | lch(53.54, 23.54, 159.38°) |
| OKLab | oklab(59.15% -0.0614 0.0214) |
| OKLCH | oklch(59.15% 0.065 160.8) |
| XYZ | xyz(16.2845, 21.5420, 18.9195) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Slate Green
#658D6D
ΔE00 3.35
Dusty Teal
#4C9085
ΔE00 6.73
Grey Teal
#5E9B8A
ΔE00 6.89
Dark Sage
#598556
ΔE00 7.23
Ocean Green
#3D9973
ΔE00 7.25
Green Grey
#77926F
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8A71 #8A5A73
analogous
#5B8A5A #5A8A71 #5A8A89
triadic
#5A8A71 #715A8A #8A715A
tetradic
#5A8A71 #5A5B8A #8A5A73 #8A895A
square
#5A8A71 #5A5B8A #8A5A73 #8A895A
split-complementary
#5A8A71 #895A8A #8A5A5B
monochromatic
#2A4034 #426553 #5A8A71 #79A890 #9EC0AF
Accessibility & contrast
On white
3.96
#5A8A71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5A8A71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8A71
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8A71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8A71 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#898370
Deuteranopia (green-blind)
#817E72
Tritanopia (blue-blind)
#508A83
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a8a71; /* rgb */ color: rgb(90, 138, 113); /* oklch */ color: oklch(59.2% 0.065 160.8);
Tailwind
colors: {
custom: {
50: '#8aac99',
500: '#5a8a71',
950: '#000000',
},
}SCSS
$custom: #5a8a71; $custom-light: #8aac99; $custom-dark: #000000;
JSON
{
"hex": "#5a8a71",
"rgb": {
"r": 90,
"g": 138,
"b": 113
},
"hsl": {
"h": 148.75,
"s": 21.053,
"l": 44.706
},
"oklch": {
"l": 0.59153,
"c": 0.06502,
"h": 160.8
},
"luminance": 0.21543
}Semantic roles & 50–950 ramp
primary
#5A8A71
secondary
#AE92A0
accent
#6A96BE
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E