#5AB42F#5AB42F

#5AB42F is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.187 H 137.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5AB42F
RGBrgb(90, 180, 47)
HSLhsl(101, 59%, 45%)
HSVhsv(101, 74%, 71%)
CMYKcmyk(50%, 0%, 73.9%, 29.4%)
CIE-LABlab(65.76, -49.92, 56.04)
CIE-LCHlch(65.76, 75.05, 131.70°)
OKLaboklab(68.83% -0.1382 0.1261)
OKLCHoklch(68.83% 0.187 137.6)
XYZxyz(21.0501, 35.0199, 8.3391)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB42F #892FB4
analogous
#9CB42F #5AB42F #2FB447
triadic
#5AB42F #2F5AB4 #B42F5A
tetradic
#5AB42F #2F9CB4 #892FB4 #B4472F
square
#5AB42F #2F9CB4 #892FB4 #B4472F
split-complementary
#5AB42F #472FB4 #B42F9C
monochromatic
#295316 #428322 #5AB42F #79D14F #9EDE80

Accessibility & contrast

On white

2.62
#5AB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#5AB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB42F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB42F#FFFFFF#000000##000000
##5AB42F1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA415
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#54AE9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab42f;
/* rgb */ color: rgb(90, 180, 47);
/* oklch */ color: oklch(68.8% 0.187 137.6);
Tailwind
colors: {
  custom: {
    50: '#91cb70',
    500: '#5ab42f',
    950: '#000000',
  },
}
SCSS
$custom: #5ab42f;
$custom-light: #91cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab42f",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 100.602,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.18709,
    "h": 137.6
  },
  "luminance": 0.35021
}

Semantic roles & 50–950 ramp

primary
#5AB42F
secondary
#AD78C7
accent
#46E2AF
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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