#5AB42C#5AB42C

#5AB42C is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 68.8% C 0.189 H 137.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5AB42C
RGBrgb(90, 180, 44)
HSLhsl(100, 61%, 44%)
HSVhsv(100, 76%, 71%)
CMYKcmyk(50%, 0%, 75.6%, 29.4%)
CIE-LABlab(65.75, -50.12, 57.07)
CIE-LCHlch(65.75, 75.95, 131.29°)
OKLaboklab(68.8% -0.1389 0.1278)
OKLCHoklch(68.8% 0.189 137.4)
XYZxyz(20.9917, 34.9965, 8.0312)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB42C #862CB4
analogous
#9EB42C #5AB42C #2CB442
triadic
#5AB42C #2C5AB4 #B42C5A
tetradic
#5AB42C #2C9EB4 #862CB4 #B4422C
square
#5AB42C #2C9EB4 #862CB4 #B4422C
split-complementary
#5AB42C #422CB4 #B42C9E
monochromatic
#295214 #418320 #5AB42C #79D34A #9DDF7C

Accessibility & contrast

On white

2.63
#5AB42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#5AB42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB42C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB42C#FFFFFF#000000##000000
##5AB42C1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40D
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#54AD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab42c;
/* rgb */ color: rgb(90, 180, 44);
/* oklch */ color: oklch(68.8% 0.189 137.4);
Tailwind
colors: {
  custom: {
    50: '#91cb6f',
    500: '#5ab42c',
    950: '#000000',
  },
}
SCSS
$custom: #5ab42c;
$custom-light: #91cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab42c",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 99.706,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68804,
    "c": 0.18879,
    "h": 137.4
  },
  "luminance": 0.34998
}

Semantic roles & 50–950 ramp

primary
#5AB42C
secondary
#AB75C7
accent
#44E4AE
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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