#5AB142#5AB142

#5AB142 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.2% C 0.170 H 139.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5AB142
RGBrgb(90, 177, 66)
HSLhsl(107, 46%, 48%)
HSVhsv(107, 63%, 69%)
CMYKcmyk(49.2%, 0%, 62.7%, 30.6%)
CIE-LABlab(64.97, -47.12, 47.55)
CIE-LCHlch(64.97, 66.94, 134.74°)
OKLaboklab(68.22% -0.1294 0.1106)
OKLCHoklch(68.22% 0.17 139.5)
XYZxyz(20.9211, 34.0098, 10.6153)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB142 #9942B1
analogous
#91B142 #5AB142 #42B161
triadic
#5AB142 #425AB1 #B1425A
tetradic
#5AB142 #4291B1 #9942B1 #B16142
square
#5AB142 #4291B1 #9942B1 #B16142
split-complementary
#5AB142 #6142B1 #B14291
monochromatic
#2D5821 #438431 #5AB142 #7DC769 #A4D896

Accessibility & contrast

On white

2.69
#5AB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5AB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB142
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB142#FFFFFF#000000##000000
##5AB1421.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A235
Deuteranopia (green-blind)
#AA9B4B
Tritanopia (blue-blind)
#52AB9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab142;
/* rgb */ color: rgb(90, 177, 66);
/* oklch */ color: oklch(68.2% 0.170 139.5);
Tailwind
colors: {
  custom: {
    50: '#90c97b',
    500: '#5ab142',
    950: '#000000',
  },
}
SCSS
$custom: #5ab142;
$custom-light: #90c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab142",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 107.027,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.17022,
    "h": 139.5
  },
  "luminance": 0.34011
}

Semantic roles & 50–950 ramp

primary
#5AB142
secondary
#B78BC3
accent
#52D5B9
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5AB142

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

Preview Lab → · Contrast checker → · Palette generator →

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