#5AB41A#5AB41A

#5AB41A is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 68.7% C 0.197 H 136.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5AB41A
RGBrgb(90, 180, 26)
HSLhsl(95, 75%, 40%)
HSVhsv(95, 86%, 71%)
CMYKcmyk(50%, 0%, 85.6%, 29.4%)
CIE-LABlab(65.66, -51.05, 62.16)
CIE-LCHlch(65.66, 80.44, 129.40°)
OKLaboklab(68.71% -0.1424 0.1359)
OKLCHoklch(68.71% 0.197 136.3)
XYZxyz(20.7236, 34.8893, 6.6194)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB41A #741AB4
analogous
#A7B41A #5AB41A #1AB427
triadic
#5AB41A #1A5AB4 #B41A5A
tetradic
#5AB41A #1AA7B4 #741AB4 #B4271A
square
#5AB41A #1AA7B4 #741AB4 #B4271A
split-complementary
#5AB41A #271AB4 #B41AA7
monochromatic
#25490B #3F7F12 #5AB41A #76E02B #99E860

Accessibility & contrast

On white

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

On black

7.98
#5AB41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB41A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB41A#FFFFFF#000000##000000
##5AB41A1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#55AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab41a;
/* rgb */ color: rgb(90, 180, 26);
/* oklch */ color: oklch(68.7% 0.197 136.3);
Tailwind
colors: {
  custom: {
    50: '#92cb68',
    500: '#5ab41a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab41a;
$custom-light: #92cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab41a",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 95.065,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.19688,
    "h": 136.3
  },
  "luminance": 0.34891
}

Semantic roles & 50–950 ramp

primary
#5AB41A
secondary
#9E5DCC
accent
#36F1A4
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB41A

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

Preview Lab → · Contrast checker → · Palette generator →

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