#5AB540#5AB540

#5AB540 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.2% C 0.177 H 139.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5AB540
RGBrgb(90, 181, 64)
HSLhsl(107, 48%, 48%)
HSVhsv(107, 65%, 71%)
CMYKcmyk(50.3%, 0%, 64.6%, 29%)
CIE-LABlab(66.21, -48.91, 49.79)
CIE-LCHlch(66.21, 69.79, 134.48°)
OKLaboklab(69.23% -0.1343 0.1152)
OKLCHoklch(69.23% 0.177 139.4)
XYZxyz(21.6649, 35.5900, 10.5774)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB540 #9B40B5
analogous
#94B540 #5AB540 #40B561
triadic
#5AB540 #405AB5 #B5405A
tetradic
#5AB540 #4094B5 #9B40B5 #B56140
square
#5AB540 #4094B5 #9B40B5 #B56140
split-complementary
#5AB540 #6140B5 #B54094
monochromatic
#2D5B20 #448830 #5AB540 #7ECA68 #A5DA96

Accessibility & contrast

On white

2.59
#5AB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#5AB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB540
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB540#FFFFFF#000000##000000
##5AB5401.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA632
Deuteranopia (green-blind)
#AE9E4A
Tritanopia (blue-blind)
#52AF9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ab540;
/* rgb */ color: rgb(90, 181, 64);
/* oklch */ color: oklch(69.2% 0.177 139.4);
Tailwind
colors: {
  custom: {
    50: '#90cc7a',
    500: '#5ab540',
    950: '#000000',
  },
}
SCSS
$custom: #5ab540;
$custom-light: #90cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab540",
  "rgb": {
    "r": 90,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 106.667,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.17694,
    "h": 139.4
  },
  "luminance": 0.35592
}

Semantic roles & 50–950 ramp

primary
#5AB540
secondary
#B88BC5
accent
#50D7B9
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AB540

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

Preview Lab → · Contrast checker → · Palette generator →

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