#5AB41C#5AB41C

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

Color values

HEX#5AB41C
RGBrgb(90, 180, 28)
HSLhsl(96, 73%, 41%)
HSVhsv(96, 84%, 71%)
CMYKcmyk(50%, 0%, 84.4%, 29.4%)
CIE-LABlab(65.67, -50.97, 61.69)
CIE-LCHlch(65.67, 80.02, 129.57°)
OKLaboklab(68.72% -0.1421 0.1352)
OKLCHoklch(68.72% 0.196 136.4)
XYZxyz(20.7467, 34.8986, 6.7412)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB41C #761CB4
analogous
#A6B41C #5AB41C #1CB42A
triadic
#5AB41C #1C5AB4 #B41C5A
tetradic
#5AB41C #1CA6B4 #761CB4 #B42A1C
square
#5AB41C #1CA6B4 #761CB4 #B42A1C
split-complementary
#5AB41C #2A1CB4 #B41CA6
monochromatic
#254A0C #407F14 #5AB41C #76DF2F #99E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB41C#FFFFFF#000000##000000
##5AB41C1.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)
#AF9D30
Tritanopia (blue-blind)
#55AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab41c;
/* rgb */ color: rgb(90, 180, 28);
/* oklch */ color: oklch(68.7% 0.196 136.4);
Tailwind
colors: {
  custom: {
    50: '#92cb68',
    500: '#5ab41c',
    950: '#000000',
  },
}
SCSS
$custom: #5ab41c;
$custom-light: #92cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab41c",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 95.526,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68717,
    "c": 0.19616,
    "h": 136.4
  },
  "luminance": 0.349
}

Semantic roles & 50–950 ramp

primary
#5AB41C
secondary
#A060CC
accent
#38F0A5
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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