#5AB342#5AB342

#5AB342 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.7% C 0.173 H 139.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5AB342
RGBrgb(90, 179, 66)
HSLhsl(107, 46%, 48%)
HSVhsv(107, 63%, 70%)
CMYKcmyk(49.7%, 0%, 63.1%, 29.8%)
CIE-LABlab(65.60, -47.92, 48.25)
CIE-LCHlch(65.60, 68.00, 134.80°)
OKLaboklab(68.74% -0.1315 0.1121)
OKLCHoklch(68.74% 0.173 139.6)
XYZxyz(21.3191, 34.8057, 10.7480)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB342 #9B42B3
analogous
#92B342 #5AB342 #42B363
triadic
#5AB342 #425AB3 #B3425A
tetradic
#5AB342 #4292B3 #9B42B3 #B36342
square
#5AB342 #4292B3 #9B42B3 #B36342
split-complementary
#5AB342 #6342B3 #B34292
monochromatic
#2D5A21 #448632 #5AB342 #7EC86A #A5D997

Accessibility & contrast

On white

2.64
#5AB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#5AB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB342
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB342#FFFFFF#000000##000000
##5AB3421.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#AC9C4B
Tritanopia (blue-blind)
#52AD9B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab342;
/* rgb */ color: rgb(90, 179, 66);
/* oklch */ color: oklch(68.7% 0.173 139.6);
Tailwind
colors: {
  custom: {
    50: '#90ca7b',
    500: '#5ab342',
    950: '#000000',
  },
}
SCSS
$custom: #5ab342;
$custom-light: #90ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab342",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 107.257,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68735,
    "c": 0.17283,
    "h": 139.6
  },
  "luminance": 0.34807
}

Semantic roles & 50–950 ramp

primary
#5AB342
secondary
#B88CC4
accent
#52D6BA
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5AB342

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

Preview Lab → · Contrast checker → · Palette generator →

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