#5AA520#5AA520

#5AA520 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.8% C 0.177 H 135.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5AA520
RGBrgb(90, 165, 32)
HSLhsl(94, 68%, 39%)
HSVhsv(94, 81%, 65%)
CMYKcmyk(45.5%, 0%, 80.6%, 35.3%)
CIE-LABlab(60.95, -44.90, 56.33)
CIE-LCHlch(60.95, 72.03, 128.56°)
OKLaboklab(64.84% -0.1256 0.1245)
OKLCHoklch(64.84% 0.177 135.3)
XYZxyz(17.9319, 29.1871, 6.0550)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA520 #6B20A5
analogous
#9CA520 #5AA520 #20A529
triadic
#5AA520 #205AA5 #A5205A
tetradic
#5AA520 #209CA5 #6B20A5 #A52920
square
#5AA520 #209CA5 #6B20A5 #A52920
split-complementary
#5AA520 #2920A5 #A5209C
monochromatic
#223E0C #3E7216 #5AA520 #76D62C #97E05F

Accessibility & contrast

On white

3.07
#5AA520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5AA520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA520
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA520#FFFFFF#000000##000000
##5AA5201.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A1912F
Tritanopia (blue-blind)
#589F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa520;
/* rgb */ color: rgb(90, 165, 32);
/* oklch */ color: oklch(64.8% 0.177 135.3);
Tailwind
colors: {
  custom: {
    50: '#90c068',
    500: '#5aa520',
    950: '#000000',
  },
}
SCSS
$custom: #5aa520;
$custom-light: #90c068;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa520",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 93.835,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64839,
    "c": 0.17686,
    "h": 135.3
  },
  "luminance": 0.29188
}

Semantic roles & 50–950 ramp

primary
#5AA520
secondary
#975CC5
accent
#3DEA9F
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA520

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

Preview Lab → · Contrast checker → · Palette generator →

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