#5AA22C#5AA22C

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

Color values

HEX#5AA22C
RGBrgb(90, 162, 44)
HSLhsl(97, 57%, 40%)
HSVhsv(97, 73%, 64%)
CMYKcmyk(44.4%, 0%, 72.8%, 36.5%)
CIE-LABlab(60.06, -42.92, 51.42)
CIE-LCHlch(60.06, 66.98, 129.86°)
OKLaboklab(64.14% -0.1195 0.116)
OKLCHoklch(64.14% 0.167 135.8)
XYZxyz(17.5910, 28.1951, 6.8977)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA22C #742CA2
analogous
#95A22C #5AA22C #2CA239
triadic
#5AA22C #2C5AA2 #A22C5A
tetradic
#5AA22C #2C95A2 #742CA2 #A2392C
square
#5AA22C #2C95A2 #742CA2 #A2392C
split-complementary
#5AA22C #392CA2 #A22C95
monochromatic
#254212 #3F721F #5AA22C #76CB40 #99D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA22C#FFFFFF#000000##000000
##5AA22C1.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)
#A89417
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#579C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa22c;
/* rgb */ color: rgb(90, 162, 44);
/* oklch */ color: oklch(64.1% 0.167 135.8);
Tailwind
colors: {
  custom: {
    50: '#8fbe6d',
    500: '#5aa22c',
    950: '#000000',
  },
}
SCSS
$custom: #5aa22c;
$custom-light: #8fbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa22c",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 96.61,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64137,
    "c": 0.16656,
    "h": 135.8
  },
  "luminance": 0.28196
}

Semantic roles & 50–950 ramp

primary
#5AA22C
secondary
#9E6ABF
accent
#47E1A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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