#5AB951#5AB951

#5AB951 is a light, vivid green. Relative luminance 0.375; OKLCH L 70.4% C 0.168 H 142.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5AB951
RGBrgb(90, 185, 81)
HSLhsl(115, 43%, 52%)
HSVhsv(115, 56%, 73%)
CMYKcmyk(51.4%, 0%, 56.2%, 27.5%)
CIE-LABlab(67.62, -48.65, 43.72)
CIE-LCHlch(67.62, 65.40, 138.05°)
OKLaboklab(70.45% -0.1327 0.1037)
OKLCHoklch(70.45% 0.168 142)
XYZxyz(23.0495, 37.4639, 13.7996)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB951 #B051B9
analogous
#8EB951 #5AB951 #51B97C
triadic
#5AB951 #515AB9 #B9515A
tetradic
#5AB951 #518EB9 #B051B9 #B97C51
square
#5AB951 #518EB9 #B051B9 #B97C51
split-complementary
#5AB951 #7C51B9 #B9518E
monochromatic
#2E6629 #42923B #5AB951 #83CB7D #ADDCA8

Accessibility & contrast

On white

2.47
#5AB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#5AB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB951
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB951#FFFFFF#000000##000000
##5AB9511.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#B0A159
Tritanopia (blue-blind)
#4EB4A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5ab951;
/* rgb */ color: rgb(90, 185, 81);
/* oklch */ color: oklch(70.4% 0.168 142.0);
Tailwind
colors: {
  custom: {
    50: '#90cf85',
    500: '#5ab951',
    950: '#000000',
  },
}
SCSS
$custom: #5ab951;
$custom-light: #90cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab951",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 114.808,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70449,
    "c": 0.1684,
    "h": 142
  },
  "luminance": 0.37466
}

Semantic roles & 50–950 ramp

primary
#5AB951
secondary
#C69CCA
accent
#55D2C8
background
#F9FCF8
surface
#F2F9EF
border
#CCD2CA
text
#0D140B
muted
#7E827C

Preview Lab

Preview with #5AB951

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

Preview Lab → · Contrast checker → · Palette generator →

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