#5AB271#5AB271

#5AB271 is a light, vivid green. Relative luminance 0.352; OKLCH L 69.2% C 0.128 H 150.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5AB271
RGBrgb(90, 178, 113)
HSLhsl(136, 36%, 53%)
HSVhsv(136, 49%, 70%)
CMYKcmyk(49.4%, 0%, 36.5%, 30.2%)
CIE-LABlab(65.91, -40.95, 25.31)
CIE-LCHlch(65.91, 48.14, 148.28°)
OKLaboklab(69.19% -0.1113 0.0633)
OKLCHoklch(69.19% 0.128 150.4)
XYZxyz(23.1160, 35.2049, 21.1967)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB271 #B25A9B
analogous
#6FB25A #5AB271 #5AB29D
triadic
#5AB271 #715AB2 #B2715A
tetradic
#5AB271 #5A6FB2 #B25A9B #B29D5A
square
#5AB271 #5A6FB2 #B25A9B #B29D5A
split-complementary
#5AB271 #9D5AB2 #B25A6F
monochromatic
#2E633C #428D55 #5AB271 #84C595 #ADD9B9

Accessibility & contrast

On white

2.61
#5AB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#5AB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB271
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB271#FFFFFF#000000##000000
##5AB2711.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56D
Deuteranopia (green-blind)
#A69D75
Tritanopia (blue-blind)
#48AFA1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab271;
/* rgb */ color: rgb(90, 178, 113);
/* oklch */ color: oklch(69.2% 0.128 150.4);
Tailwind
colors: {
  custom: {
    50: '#8ec99a',
    500: '#5ab271',
    950: '#000000',
  },
}
SCSS
$custom: #5ab271;
$custom-light: #8ec99a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab271",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 135.682,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.69192,
    "c": 0.12803,
    "h": 150.4
  },
  "luminance": 0.35207
}

Semantic roles & 50–950 ramp

primary
#5AB271
secondary
#C7A1BD
accent
#5BAFCC
background
#F9FCF9
surface
#F1F8F2
border
#CBD1CC
text
#0D130E
muted
#7E827E

Preview Lab

Preview with #5AB271

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

Preview Lab → · Contrast checker → · Palette generator →

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