#5AB151#5AB151

#5AB151 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.4% C 0.157 H 141.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5AB151
RGBrgb(90, 177, 81)
HSLhsl(114, 38%, 51%)
HSVhsv(114, 54%, 69%)
CMYKcmyk(49.2%, 0%, 54.2%, 30.6%)
CIE-LABlab(65.13, -45.41, 40.75)
CIE-LCHlch(65.13, 61.01, 138.09°)
OKLaboklab(68.4% -0.1239 0.0972)
OKLCHoklch(68.4% 0.157 141.9)
XYZxyz(21.4228, 34.2105, 13.2574)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB151 #A851B1
analogous
#8AB151 #5AB151 #51B178
triadic
#5AB151 #515AB1 #B1515A
tetradic
#5AB151 #518AB1 #A851B1 #B17851
square
#5AB151 #518AB1 #A851B1 #B17851
split-complementary
#5AB151 #7851B1 #B1518A
monochromatic
#2F5E2A #44883D #5AB151 #82C47B #AAD7A6

Accessibility & contrast

On white

2.68
#5AB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#5AB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB151
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB151#FFFFFF#000000##000000
##5AB1511.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A348
Deuteranopia (green-blind)
#A99B58
Tritanopia (blue-blind)
#50AC9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab151;
/* rgb */ color: rgb(90, 177, 81);
/* oklch */ color: oklch(68.4% 0.157 141.9);
Tailwind
colors: {
  custom: {
    50: '#8fc984',
    500: '#5ab151',
    950: '#000000',
  },
}
SCSS
$custom: #5ab151;
$custom-light: #8fc984;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab151",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 114.375,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.68402,
    "c": 0.15748,
    "h": 141.9
  },
  "luminance": 0.34212
}

Semantic roles & 50–950 ramp

primary
#5AB151
secondary
#C09AC4
accent
#5ACEC3
background
#F9FCF8
surface
#F1F8EF
border
#CBD1CA
text
#0D130B
muted
#7E827C

Preview Lab

Preview with #5AB151

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

Preview Lab → · Contrast checker → · Palette generator →

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