#5AB22C#5AB22C

#5AB22C is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.3% C 0.186 H 137.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5AB22C
RGBrgb(90, 178, 44)
HSLhsl(99, 60%, 44%)
HSVhsv(99, 75%, 70%)
CMYKcmyk(49.4%, 0%, 75.3%, 30.2%)
CIE-LABlab(65.12, -49.35, 56.45)
CIE-LCHlch(65.12, 74.98, 131.16°)
OKLaboklab(68.29% -0.1368 0.1265)
OKLCHoklch(68.29% 0.186 137.2)
XYZxyz(20.5908, 34.1949, 7.8976)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB22C #842CB2
analogous
#9DB22C #5AB22C #2CB241
triadic
#5AB22C #2C5AB2 #B22C5A
tetradic
#5AB22C #2C9DB2 #842CB2 #B2412C
square
#5AB22C #2C9DB2 #842CB2 #B2412C
split-complementary
#5AB22C #412CB2 #B22C9D
monochromatic
#285014 #418120 #5AB22C #78D249 #9DDE7A

Accessibility & contrast

On white

2.68
#5AB22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#5AB22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB22C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB22C#FFFFFF#000000##000000
##5AB22C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#54AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab22c;
/* rgb */ color: rgb(90, 178, 44);
/* oklch */ color: oklch(68.3% 0.186 137.2);
Tailwind
colors: {
  custom: {
    50: '#91ca6f',
    500: '#5ab22c',
    950: '#000000',
  },
}
SCSS
$custom: #5ab22c;
$custom-light: #91ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab22c",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 99.403,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68287,
    "c": 0.18638,
    "h": 137.2
  },
  "luminance": 0.34196
}

Semantic roles & 50–950 ramp

primary
#5AB22C
secondary
#AA73C6
accent
#44E4AD
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB22C

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

Preview Lab → · Contrast checker → · Palette generator →

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