#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
RGBrgb(90, 138, 113)
HSLhsl(149, 21%, 45%)
HSVhsv(149, 35%, 54%)
CMYKcmyk(34.8%, 0%, 18.1%, 45.9%)
CIE-LABlab(53.54, -22.03, 8.29)
CIE-LCHlch(53.54, 23.54, 159.38°)
OKLaboklab(59.15% -0.0614 0.0214)
OKLCHoklch(59.15% 0.065 160.8)
XYZxyz(16.2845, 21.5420, 18.9195)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##5A8A711.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.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

Preview Lab

Preview with #5A8A71

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5A8A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva