#5AAA20#5AAA20

#5AAA20 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.1% C 0.183 H 135.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5AAA20
RGBrgb(90, 170, 32)
HSLhsl(95, 68%, 40%)
HSVhsv(95, 81%, 67%)
CMYKcmyk(47.1%, 0%, 81.2%, 33.3%)
CIE-LABlab(62.53, -46.90, 57.79)
CIE-LCHlch(62.53, 74.43, 129.06°)
OKLaboklab(66.14% -0.131 0.1276)
OKLCHoklch(66.14% 0.183 135.8)
XYZxyz(18.8514, 31.0262, 6.3615)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA20 #7020AA
analogous
#9FAA20 #5AAA20 #20AA2B
triadic
#5AAA20 #205AAA #AA205A
tetradic
#5AAA20 #209FAA #7020AA #AA2B20
square
#5AAA20 #209FAA #7020AA #AA2B20
split-complementary
#5AAA20 #2B20AA #AA209F
monochromatic
#23430D #3F7616 #5AAA20 #76D82F #98E263

Accessibility & contrast

On white

2.91
#5AAA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5AAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA20
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA20#FFFFFF#000000##000000
##5AAA201.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#57A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa20;
/* rgb */ color: rgb(90, 170, 32);
/* oklch */ color: oklch(66.1% 0.183 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c468',
    500: '#5aaa20',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa20;
$custom-light: #90c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa20",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 94.783,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.18285,
    "h": 135.8
  },
  "luminance": 0.31027
}

Semantic roles & 50–950 ramp

primary
#5AAA20
secondary
#9B5FC7
accent
#3DEBA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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