#5AB32A#5AB32A

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

Color values

HEX#5AB32A
RGBrgb(90, 179, 42)
HSLhsl(99, 62%, 43%)
HSVhsv(99, 77%, 70%)
CMYKcmyk(49.7%, 0%, 76.5%, 29.8%)
CIE-LABlab(65.42, -49.86, 57.42)
CIE-LCHlch(65.42, 76.05, 130.97°)
OKLaboklab(68.53% -0.1384 0.1283)
OKLCHoklch(68.53% 0.189 137.2)
XYZxyz(20.7538, 34.5796, 7.7710)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB32A #832AB3
analogous
#9EB32A #5AB32A #2AB33E
triadic
#5AB32A #2A5AB3 #B32A5A
tetradic
#5AB32A #2A9EB3 #832AB3 #B33E2A
square
#5AB32A #2A9EB3 #832AB3 #B33E2A
split-complementary
#5AB32A #3E2AB3 #B32A9E
monochromatic
#285013 #41811E #5AB32A #78D446 #9CDF78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB32A#FFFFFF#000000##000000
##5AB32A1.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)
#B9A307
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#54AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab32a;
/* rgb */ color: rgb(90, 179, 42);
/* oklch */ color: oklch(68.5% 0.189 137.2);
Tailwind
colors: {
  custom: {
    50: '#91ca6e',
    500: '#5ab32a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab32a;
$custom-light: #91ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab32a",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 98.978,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68533,
    "c": 0.18867,
    "h": 137.2
  },
  "luminance": 0.34581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5AB32A

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

Preview Lab → · Contrast checker → · Palette generator →

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