#5AB22D#5AB22D

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

Color values

HEX#5AB22D
RGBrgb(90, 178, 45)
HSLhsl(100, 60%, 44%)
HSVhsv(100, 75%, 70%)
CMYKcmyk(49.4%, 0%, 74.7%, 30.2%)
CIE-LABlab(65.12, -49.28, 56.11)
CIE-LCHlch(65.12, 74.68, 131.29°)
OKLaboklab(68.29% -0.1366 0.126)
OKLCHoklch(68.29% 0.186 137.3)
XYZxyz(20.6098, 34.2025, 7.9978)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB22D #852DB2
analogous
#9CB22D #5AB22D #2DB242
triadic
#5AB22D #2D5AB2 #B22D5A
tetradic
#5AB22D #2D9CB2 #852DB2 #B2422D
square
#5AB22D #2D9CB2 #852DB2 #B2422D
split-complementary
#5AB22D #422DB2 #B22D9C
monochromatic
#295014 #418121 #5AB22D #78D14B #9DDE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB22D#FFFFFF#000000##000000
##5AB22D1.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)
#B8A311
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#54AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab22d;
/* rgb */ color: rgb(90, 178, 45);
/* oklch */ color: oklch(68.3% 0.186 137.3);
Tailwind
colors: {
  custom: {
    50: '#91ca6f',
    500: '#5ab22d',
    950: '#000000',
  },
}
SCSS
$custom: #5ab22d;
$custom-light: #91ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab22d",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 99.699,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.18582,
    "h": 137.3
  },
  "luminance": 0.34204
}

Semantic roles & 50–950 ramp

primary
#5AB22D
secondary
#AB75C6
accent
#45E3AD
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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