#5AA871#5AA871

#5AA871 is a light, moderate green. Relative luminance 0.314; OKLCH L 66.7% C 0.113 H 151.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5AA871
RGBrgb(90, 168, 113)
HSLhsl(138, 31%, 51%)
HSVhsv(138, 46%, 66%)
CMYKcmyk(46.4%, 0%, 32.7%, 34.1%)
CIE-LABlab(62.82, -36.51, 21.16)
CIE-LCHlch(62.82, 42.20, 149.91°)
OKLaboklab(66.67% -0.0995 0.0533)
OKLCHoklch(66.67% 0.113 151.8)
XYZxyz(21.1983, 31.3696, 20.5575)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA871 #A85A91
analogous
#6AA85A #5AA871 #5AA898
triadic
#5AA871 #715AA8 #A8715A
tetradic
#5AA871 #5A6AA8 #A85A91 #A8985A
square
#5AA871 #5A6AA8 #A85A91 #A8985A
split-complementary
#5AA871 #985AA8 #A85A6A
monochromatic
#2F593B #448156 #5AA871 #82BD93 #AAD2B6

Accessibility & contrast

On white

2.89
#5AA871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5AA871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA871
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA871#FFFFFF#000000##000000
##5AA8711.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D6E
Deuteranopia (green-blind)
#9D9574
Tritanopia (blue-blind)
#4AA69A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aa871;
/* rgb */ color: rgb(90, 168, 113);
/* oklch */ color: oklch(66.7% 0.113 151.8);
Tailwind
colors: {
  custom: {
    50: '#8dc29a',
    500: '#5aa871',
    950: '#000000',
  },
}
SCSS
$custom: #5aa871;
$custom-light: #8dc29a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa871",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 137.692,
    "s": 30.952,
    "l": 50.588
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.11292,
    "h": 151.8
  },
  "luminance": 0.31371
}

Semantic roles & 50–950 ramp

primary
#5AA871
secondary
#C09EB6
accent
#61A9C7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0C120E
muted
#7D817E

Preview Lab

Preview with #5AA871

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

Preview Lab → · Contrast checker → · Palette generator →

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