#5AB421#5AB421

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

Color values

HEX#5AB421
RGBrgb(90, 180, 33)
HSLhsl(97, 69%, 42%)
HSVhsv(97, 82%, 71%)
CMYKcmyk(50%, 0%, 81.7%, 29.4%)
CIE-LABlab(65.69, -50.75, 60.41)
CIE-LCHlch(65.69, 78.90, 130.03°)
OKLaboklab(68.74% -0.1412 0.1332)
OKLCHoklch(68.74% 0.194 136.7)
XYZxyz(20.8116, 34.9245, 7.0830)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB421 #7B21B4
analogous
#A4B421 #5AB421 #21B432
triadic
#5AB421 #215AB4 #B4215A
tetradic
#5AB421 #21A4B4 #7B21B4 #B43221
square
#5AB421 #21A4B4 #7B21B4 #B43221
split-complementary
#5AB421 #3221B4 #B421A4
monochromatic
#264D0E #408018 #5AB421 #77DA38 #9AE46B

Accessibility & contrast

On white

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

On black

7.99
#5AB421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB421
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB421#FFFFFF#000000##000000
##5AB4211.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#55AD99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab421;
/* rgb */ color: rgb(90, 180, 33);
/* oklch */ color: oklch(68.7% 0.194 136.7);
Tailwind
colors: {
  custom: {
    50: '#92cb6a',
    500: '#5ab421',
    950: '#000000',
  },
}
SCSS
$custom: #5ab421;
$custom-light: #92cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab421",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 96.735,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6874,
    "c": 0.19416,
    "h": 136.7
  },
  "luminance": 0.34926
}

Semantic roles & 50–950 ramp

primary
#5AB421
secondary
#A467CA
accent
#3CECA8
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB421

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

Preview Lab → · Contrast checker → · Palette generator →

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