#5AA820#5AA820

#5AA820 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.6% C 0.180 H 135.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5AA820
RGBrgb(90, 168, 32)
HSLhsl(94, 68%, 39%)
HSVhsv(94, 81%, 66%)
CMYKcmyk(46.4%, 0%, 81%, 34.1%)
CIE-LABlab(61.90, -46.10, 57.21)
CIE-LCHlch(61.90, 73.47, 128.87°)
OKLaboklab(65.62% -0.1289 0.1264)
OKLCHoklch(65.62% 0.18 135.6)
XYZxyz(18.4793, 30.2820, 6.2375)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA820 #6E20A8
analogous
#9EA820 #5AA820 #20A82A
triadic
#5AA820 #205AA8 #A8205A
tetradic
#5AA820 #209EA8 #6E20A8 #A82A20
square
#5AA820 #209EA8 #6E20A8 #A82A20
split-complementary
#5AA820 #2A20A8 #A8209E
monochromatic
#23410C #3E7516 #5AA820 #76D72E #98E161

Accessibility & contrast

On white

2.98
#5AA820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5AA820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA820
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA820#FFFFFF#000000##000000
##5AA8201.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#57A18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa820;
/* rgb */ color: rgb(90, 168, 32);
/* oklch */ color: oklch(65.6% 0.180 135.6);
Tailwind
colors: {
  custom: {
    50: '#90c268',
    500: '#5aa820',
    950: '#000000',
  },
}
SCSS
$custom: #5aa820;
$custom-light: #90c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa820",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 94.412,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65619,
    "c": 0.18047,
    "h": 135.6
  },
  "luminance": 0.30283
}

Semantic roles & 50–950 ramp

primary
#5AA820
secondary
#9A5EC6
accent
#3DEBA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA820

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

Preview Lab → · Contrast checker → · Palette generator →

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