#5AB32B#5AB32B

#5AB32B is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.188 H 137.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5AB32B
RGBrgb(90, 179, 43)
HSLhsl(99, 61%, 44%)
HSVhsv(99, 76%, 70%)
CMYKcmyk(49.7%, 0%, 76%, 29.8%)
CIE-LABlab(65.43, -49.80, 57.09)
CIE-LCHlch(65.43, 75.76, 131.10°)
OKLaboklab(68.54% -0.1381 0.1277)
OKLCHoklch(68.54% 0.188 137.2)
XYZxyz(20.7719, 34.5868, 7.8664)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB32B #842BB3
analogous
#9EB32B #5AB32B #2BB340
triadic
#5AB32B #2B5AB3 #B32B5A
tetradic
#5AB32B #2B9EB3 #842BB3 #B3402B
square
#5AB32B #2B9EB3 #842BB3 #B3402B
split-complementary
#5AB32B #402BB3 #B32B9E
monochromatic
#285013 #41821F #5AB32B #78D348 #9DDF79

Accessibility & contrast

On white

2.65
#5AB32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#5AB32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB32B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB32B#FFFFFF#000000##000000
##5AB32B1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#54AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab32b;
/* rgb */ color: rgb(90, 179, 43);
/* oklch */ color: oklch(68.5% 0.188 137.2);
Tailwind
colors: {
  custom: {
    50: '#91ca6e',
    500: '#5ab32b',
    950: '#000000',
  },
}
SCSS
$custom: #5ab32b;
$custom-light: #91ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab32b",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 99.265,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68539,
    "c": 0.18814,
    "h": 137.2
  },
  "luminance": 0.34588
}

Semantic roles & 50–950 ramp

primary
#5AB32B
secondary
#AA73C7
accent
#43E4AD
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB32B

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

Preview Lab → · Contrast checker → · Palette generator →

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