#5AA22D#5AA22D

#5AA22D is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.166 H 135.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5AA22D
RGBrgb(90, 162, 45)
HSLhsl(97, 57%, 41%)
HSVhsv(97, 72%, 64%)
CMYKcmyk(44.4%, 0%, 72.2%, 36.5%)
CIE-LABlab(60.07, -42.85, 51.05)
CIE-LCHlch(60.07, 66.65, 130.01°)
OKLaboklab(64.15% -0.1192 0.1154)
OKLCHoklch(64.15% 0.166 135.9)
XYZxyz(17.6100, 28.2027, 6.9979)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA22D #752DA2
analogous
#94A22D #5AA22D #2DA23A
triadic
#5AA22D #2D5AA2 #A22D5A
tetradic
#5AA22D #2D94A2 #752DA2 #A23A2D
square
#5AA22D #2D94A2 #752DA2 #A23A2D
split-complementary
#5AA22D #3A2DA2 #A22D94
monochromatic
#254212 #3F7220 #5AA22D #76CA42 #99D872

Accessibility & contrast

On white

3.16
#5AA22D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5AA22D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA22D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA22D#FFFFFF#000000##000000
##5AA22D1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89519
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#579C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa22d;
/* rgb */ color: rgb(90, 162, 45);
/* oklch */ color: oklch(64.1% 0.166 135.9);
Tailwind
colors: {
  custom: {
    50: '#8fbe6d',
    500: '#5aa22d',
    950: '#000000',
  },
}
SCSS
$custom: #5aa22d;
$custom-light: #8fbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa22d",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 96.923,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64145,
    "c": 0.16592,
    "h": 135.9
  },
  "luminance": 0.28204
}

Semantic roles & 50–950 ramp

primary
#5AA22D
secondary
#9F6CBF
accent
#48E0A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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