#5AB945#5AB945

#5AB945 is a light, vivid green. Relative luminance 0.373; OKLCH L 70.3% C 0.178 H 140.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5AB945
RGBrgb(90, 185, 69)
HSLhsl(109, 46%, 50%)
HSVhsv(109, 63%, 73%)
CMYKcmyk(51.4%, 0%, 62.7%, 27.5%)
CIE-LABlab(67.50, -49.98, 49.06)
CIE-LCHlch(67.50, 70.03, 135.53°)
OKLaboklab(70.31% -0.137 0.1141)
OKLCHoklch(70.31% 0.178 140.2)
XYZxyz(22.6386, 37.2995, 11.6356)
Luminance0.3730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB945 #A445B9
analogous
#94B945 #5AB945 #45B96A
triadic
#5AB945 #455AB9 #B9455A
tetradic
#5AB945 #4594B9 #A445B9 #B96A45
square
#5AB945 #4594B9 #A445B9 #B96A45
split-complementary
#5AB945 #6A45B9 #B94594
monochromatic
#2F6024 #448C34 #5AB945 #81CA71 #A9DB9E

Accessibility & contrast

On white

2.48
#5AB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#5AB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB945
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB945#FFFFFF#000000##000000
##5AB9451.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA937
Deuteranopia (green-blind)
#B1A14F
Tritanopia (blue-blind)
#50B3A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5ab945;
/* rgb */ color: rgb(90, 185, 69);
/* oklch */ color: oklch(70.3% 0.178 140.2);
Tailwind
colors: {
  custom: {
    50: '#91cf7d',
    500: '#5ab945',
    950: '#000000',
  },
}
SCSS
$custom: #5ab945;
$custom-light: #91cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab945",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 109.138,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.17828,
    "h": 140.2
  },
  "luminance": 0.37301
}

Semantic roles & 50–950 ramp

primary
#5AB945
secondary
#BE93C7
accent
#52D5BE
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0D140A
muted
#7E827C

Preview Lab

Preview with #5AB945

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

Preview Lab → · Contrast checker → · Palette generator →

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