#5AB221#5AB221

#5AB221 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.2% C 0.192 H 136.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5AB221
RGBrgb(90, 178, 33)
HSLhsl(96, 69%, 41%)
HSVhsv(96, 81%, 70%)
CMYKcmyk(49.4%, 0%, 81.5%, 30.2%)
CIE-LABlab(65.06, -49.98, 59.83)
CIE-LCHlch(65.06, 77.96, 129.87°)
OKLaboklab(68.22% -0.1392 0.132)
OKLCHoklch(68.22% 0.192 136.5)
XYZxyz(20.4108, 34.1228, 6.9494)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB221 #7921B2
analogous
#A3B221 #5AB221 #21B231
triadic
#5AB221 #215AB2 #B2215A
tetradic
#5AB221 #21A3B2 #7921B2 #B23121
square
#5AB221 #21A3B2 #7921B2 #B23121
split-complementary
#5AB221 #3121B2 #B221A3
monochromatic
#264B0E #407E17 #5AB221 #77DA36 #9AE36A

Accessibility & contrast

On white

2.68
#5AB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#5AB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB221
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB221#FFFFFF#000000##000000
##5AB2211.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#55AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab221;
/* rgb */ color: rgb(90, 178, 33);
/* oklch */ color: oklch(68.2% 0.192 136.5);
Tailwind
colors: {
  custom: {
    50: '#91ca6a',
    500: '#5ab221',
    950: '#000000',
  },
}
SCSS
$custom: #5ab221;
$custom-light: #91ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab221",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 96.414,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68222,
    "c": 0.19184,
    "h": 136.5
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#5AB221
secondary
#A266C9
accent
#3CECA7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB221

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

Preview Lab → · Contrast checker → · Palette generator →

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