#5AB970#5AB970

#5AB970 is a light, vivid green. Relative luminance 0.380; OKLCH L 70.9% C 0.139 H 149.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5AB970
RGBrgb(90, 185, 112)
HSLhsl(134, 40%, 54%)
HSVhsv(134, 51%, 73%)
CMYKcmyk(51.4%, 0%, 39.5%, 27.5%)
CIE-LABlab(68.05, -44.12, 28.67)
CIE-LCHlch(68.05, 52.62, 146.99°)
OKLaboklab(70.94% -0.1197 0.0712)
OKLCHoklch(70.94% 0.139 149.3)
XYZxyz(24.4884, 38.0395, 21.3780)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB970 #B95AA3
analogous
#74B95A #5AB970 #5AB9A0
triadic
#5AB970 #705AB9 #B9705A
tetradic
#5AB970 #5A74B9 #B95AA3 #B9A05A
square
#5AB970 #5A74B9 #B95AA3 #B9A05A
split-complementary
#5AB970 #A05AB9 #B95A74
monochromatic
#2D6B3C #409654 #5AB970 #85CB95 #B0DDBA

Accessibility & contrast

On white

2.44
#5AB970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#5AB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB970
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB970#FFFFFF#000000##000000
##5AB9701.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6B
Deuteranopia (green-blind)
#ADA275
Tritanopia (blue-blind)
#47B6A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #5ab970;
/* rgb */ color: rgb(90, 185, 112);
/* oklch */ color: oklch(70.9% 0.139 149.3);
Tailwind
colors: {
  custom: {
    50: '#8fcf9a',
    500: '#5ab970',
    950: '#000000',
  },
}
SCSS
$custom: #5ab970;
$custom-light: #8fcf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab970",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 133.895,
    "s": 40.426,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70937,
    "c": 0.13932,
    "h": 149.3
  },
  "luminance": 0.38041
}

Semantic roles & 50–950 ramp

primary
#5AB970
secondary
#CCA3C2
accent
#58B4D0
background
#F9FCF9
surface
#F1F9F2
border
#CBD2CC
text
#0D140E
muted
#7E827E

Preview Lab

Preview with #5AB970

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

Preview Lab → · Contrast checker → · Palette generator →

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