#5ABC42#5ABC42

#5ABC42 is a light, vivid green. Relative luminance 0.385; OKLCH L 71.0% C 0.184 H 139.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5ABC42
RGBrgb(90, 188, 66)
HSLhsl(108, 48%, 50%)
HSVhsv(108, 65%, 74%)
CMYKcmyk(52.1%, 0%, 64.9%, 26.3%)
CIE-LABlab(68.41, -51.44, 51.36)
CIE-LCHlch(68.41, 72.69, 135.05°)
OKLaboklab(71.05% -0.1411 0.1187)
OKLCHoklch(71.05% 0.184 139.9)
XYZxyz(23.1821, 38.5317, 11.3690)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ABC42 #A442BC
analogous
#97BC42 #5ABC42 #42BC67
triadic
#5ABC42 #425ABC #BC425A
tetradic
#5ABC42 #4297BC #A442BC #BC6742
square
#5ABC42 #4297BC #A442BC #BC6742
split-complementary
#5ABC42 #6742BC #BC4297
monochromatic
#2F6122 #448F32 #5ABC42 #81CC6F #A9DC9C

Accessibility & contrast

On white

2.41
#5ABC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#5ABC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ABC42
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ABC42#FFFFFF#000000##000000
##5ABC421.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#B4A44C
Tritanopia (blue-blind)
#50B6A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #5abc42;
/* rgb */ color: rgb(90, 188, 66);
/* oklch */ color: oklch(71.0% 0.184 139.9);
Tailwind
colors: {
  custom: {
    50: '#91d17c',
    500: '#5abc42',
    950: '#000000',
  },
}
SCSS
$custom: #5abc42;
$custom-light: #91d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#5abc42",
  "rgb": {
    "r": 90,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 108.197,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71048,
    "c": 0.18439,
    "h": 139.9
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

primary
#5ABC42
secondary
#BE91C9
accent
#50D8BD
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E140A
muted
#7E827C

Preview Lab

Preview with #5ABC42

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

Preview Lab → · Contrast checker → · Palette generator →

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