#5AB22A#5AB22A

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

Color values

HEX#5AB22A
RGBrgb(90, 178, 42)
HSLhsl(99, 62%, 43%)
HSVhsv(99, 76%, 70%)
CMYKcmyk(49.4%, 0%, 76.4%, 30.2%)
CIE-LABlab(65.11, -49.48, 57.11)
CIE-LCHlch(65.11, 75.56, 130.90°)
OKLaboklab(68.27% -0.1373 0.1276)
OKLCHoklch(68.27% 0.187 137.1)
XYZxyz(20.5541, 34.1802, 7.7044)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB22A #822AB2
analogous
#9EB22A #5AB22A #2AB23E
triadic
#5AB22A #2A5AB2 #B22A5A
tetradic
#5AB22A #2A9EB2 #822AB2 #B23E2A
square
#5AB22A #2A9EB2 #822AB2 #B23E2A
split-complementary
#5AB22A #3E2AB2 #B22A9E
monochromatic
#284F13 #41801E #5AB22A #78D346 #9CDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB22A#FFFFFF#000000##000000
##5AB22A1.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)
#B8A308
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#55AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab22a;
/* rgb */ color: rgb(90, 178, 42);
/* oklch */ color: oklch(68.3% 0.187 137.1);
Tailwind
colors: {
  custom: {
    50: '#91ca6e',
    500: '#5ab22a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab22a;
$custom-light: #91ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab22a",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 98.824,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68274,
    "c": 0.18747,
    "h": 137.1
  },
  "luminance": 0.34182
}

Semantic roles & 50–950 ramp

primary
#5AB22A
secondary
#A971C7
accent
#43E5AC
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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