#5AB451#5AB451

#5AB451 is a light, vivid green. Relative luminance 0.354; OKLCH L 69.2% C 0.162 H 141.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5AB451
RGBrgb(90, 180, 81)
HSLhsl(115, 40%, 51%)
HSVhsv(115, 55%, 71%)
CMYKcmyk(50%, 0%, 55%, 29.4%)
CIE-LABlab(66.07, -46.63, 41.87)
CIE-LCHlch(66.07, 62.67, 138.08°)
OKLaboklab(69.17% -0.1272 0.0997)
OKLCHoklch(69.17% 0.162 141.9)
XYZxyz(22.0219, 35.4086, 13.4571)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB451 #AB51B4
analogous
#8BB451 #5AB451 #51B479
triadic
#5AB451 #515AB4 #B4515A
tetradic
#5AB451 #518BB4 #AB51B4 #B47951
square
#5AB451 #518BB4 #AB51B4 #B47951
split-complementary
#5AB451 #7951B4 #B4518B
monochromatic
#2F612A #438C3C #5AB451 #83C67C #ABD9A7

Accessibility & contrast

On white

2.60
#5AB451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#5AB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB451
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB451#FFFFFF#000000##000000
##5AB4511.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A548
Deuteranopia (green-blind)
#AC9D58
Tritanopia (blue-blind)
#4FAF9E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ab451;
/* rgb */ color: rgb(90, 180, 81);
/* oklch */ color: oklch(69.2% 0.162 141.9);
Tailwind
colors: {
  custom: {
    50: '#8fcb84',
    500: '#5ab451',
    950: '#000000',
  },
}
SCSS
$custom: #5ab451;
$custom-light: #8fcb84;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab451",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 114.545,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6917,
    "c": 0.16161,
    "h": 141.9
  },
  "luminance": 0.3541
}

Semantic roles & 50–950 ramp

primary
#5AB451
secondary
#C29BC6
accent
#58D0C5
background
#F9FCF8
surface
#F1F9EF
border
#CBD2CA
text
#0D130B
muted
#7E827C

Preview Lab

Preview with #5AB451

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

Preview Lab → · Contrast checker → · Palette generator →

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