#5AB22B#5AB22B

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

Color values

HEX#5AB22B
RGBrgb(90, 178, 43)
HSLhsl(99, 61%, 43%)
HSVhsv(99, 76%, 70%)
CMYKcmyk(49.4%, 0%, 75.8%, 30.2%)
CIE-LABlab(65.11, -49.41, 56.78)
CIE-LCHlch(65.11, 75.27, 131.03°)
OKLaboklab(68.28% -0.1371 0.1271)
OKLCHoklch(68.28% 0.187 137.2)
XYZxyz(20.5723, 34.1874, 7.7998)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB22B #832BB2
analogous
#9DB22B #5AB22B #2BB23F
triadic
#5AB22B #2B5AB2 #B22B5A
tetradic
#5AB22B #2B9DB2 #832BB2 #B23F2B
square
#5AB22B #2B9DB2 #832BB2 #B23F2B
split-complementary
#5AB22B #3F2BB2 #B22B9D
monochromatic
#284F13 #41811F #5AB22B #78D348 #9CDF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB22B#FFFFFF#000000##000000
##5AB22B1.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)
#B8A30C
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#55AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab22b;
/* rgb */ color: rgb(90, 178, 43);
/* oklch */ color: oklch(68.3% 0.187 137.2);
Tailwind
colors: {
  custom: {
    50: '#91ca6e',
    500: '#5ab22b',
    950: '#000000',
  },
}
SCSS
$custom: #5ab22b;
$custom-light: #91ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab22b",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 99.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6828,
    "c": 0.18694,
    "h": 137.2
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#5AB22B
secondary
#A972C7
accent
#44E4AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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