#5AB245#5AB245

#5AB245 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.5% C 0.169 H 139.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5AB245
RGBrgb(90, 178, 69)
HSLhsl(108, 44%, 48%)
HSVhsv(108, 61%, 70%)
CMYKcmyk(49.4%, 0%, 61.2%, 30.2%)
CIE-LABlab(65.31, -47.21, 46.60)
CIE-LCHlch(65.31, 66.33, 135.37°)
OKLaboklab(68.51% -0.1294 0.1089)
OKLCHoklch(68.51% 0.169 139.9)
XYZxyz(21.2102, 34.4426, 11.1595)
Luminance0.3444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB245 #9D45B2
analogous
#90B245 #5AB245 #45B266
triadic
#5AB245 #455AB2 #B2455A
tetradic
#5AB245 #4590B2 #9D45B2 #B26645
square
#5AB245 #4590B2 #9D45B2 #B26645
split-complementary
#5AB245 #6645B2 #B24590
monochromatic
#2D5A23 #448634 #5AB245 #7FC76E #A6D89A

Accessibility & contrast

On white

2.66
#5AB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#5AB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB245
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB245#FFFFFF#000000##000000
##5AB2451.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A339
Deuteranopia (green-blind)
#AB9C4E
Tritanopia (blue-blind)
#52AC9B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab245;
/* rgb */ color: rgb(90, 178, 69);
/* oklch */ color: oklch(68.5% 0.169 139.9);
Tailwind
colors: {
  custom: {
    50: '#90ca7d',
    500: '#5ab245',
    950: '#000000',
  },
}
SCSS
$custom: #5ab245;
$custom-light: #90ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab245",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 108.44,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6851,
    "c": 0.16914,
    "h": 139.9
  },
  "luminance": 0.34444
}

Semantic roles & 50–950 ramp

primary
#5AB245
secondary
#BA8FC4
accent
#54D4BB
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5AB245

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

Preview Lab → · Contrast checker → · Palette generator →

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