#5A9771#5A9771

#5A9771 is a light, moderate green. Relative luminance 0.255; OKLCH L 62.4% C 0.086 H 155.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5A9771
RGBrgb(90, 151, 113)
HSLhsl(143, 25%, 47%)
HSVhsv(143, 40%, 59%)
CMYKcmyk(40.4%, 0%, 25.2%, 40.8%)
CIE-LABlab(57.56, -28.54, 13.94)
CIE-LCHlch(57.56, 31.76, 153.97°)
OKLaboklab(62.4% -0.0785 0.0356)
OKLCHoklch(62.4% 0.086 155.6)
XYZxyz(18.2625, 25.4980, 19.5789)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9771 #975A80
analogous
#62975A #5A9771 #5A9790
triadic
#5A9771 #715A97 #97715A
tetradic
#5A9771 #5A6297 #975A80 #97905A
square
#5A9771 #5A6297 #975A80 #97905A
split-complementary
#5A9771 #905A97 #975A62
monochromatic
#2C4A38 #437154 #5A9771 #7DB191 #A3C8B1

Accessibility & contrast

On white

3.44
#5A9771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5A9771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9771
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9771#FFFFFF#000000##000000
##5A97711.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E6F
Deuteranopia (green-blind)
#8D8873
Tritanopia (blue-blind)
#4D968D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a9771;
/* rgb */ color: rgb(90, 151, 113);
/* oklch */ color: oklch(62.4% 0.086 155.6);
Tailwind
colors: {
  custom: {
    50: '#8bb69a',
    500: '#5a9771',
    950: '#000000',
  },
}
SCSS
$custom: #5a9771;
$custom-light: #8bb69a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9771",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 113
  },
  "hsl": {
    "h": 142.623,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.624,
    "c": 0.08618,
    "h": 155.6
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#5A9771
secondary
#B697AA
accent
#669FC2
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C110E
muted
#7D807E

Preview Lab

Preview with #5A9771

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

Preview Lab → · Contrast checker → · Palette generator →

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