#5AA22A#5AA22A

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

Color values

HEX#5AA22A
RGBrgb(90, 162, 42)
HSLhsl(96, 59%, 40%)
HSVhsv(96, 74%, 64%)
CMYKcmyk(44.4%, 0%, 74.1%, 36.5%)
CIE-LABlab(60.05, -43.07, 52.15)
CIE-LCHlch(60.05, 67.63, 129.55°)
OKLaboklab(64.12% -0.12 0.1173)
OKLCHoklch(64.12% 0.168 135.7)
XYZxyz(17.5543, 28.1804, 6.7044)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA22A #722AA2
analogous
#96A22A #5AA22A #2AA236
triadic
#5AA22A #2A5AA2 #A22A5A
tetradic
#5AA22A #2A96A2 #722AA2 #A2362A
square
#5AA22A #2A96A2 #722AA2 #A2362A
split-complementary
#5AA22A #362AA2 #A22A96
monochromatic
#244111 #3F711D #5AA22A #76CD3D #98D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA22A#FFFFFF#000000##000000
##5AA22A1.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)
#A89413
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa22a;
/* rgb */ color: rgb(90, 162, 42);
/* oklch */ color: oklch(64.1% 0.168 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fbe6c',
    500: '#5aa22a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa22a;
$custom-light: #8fbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa22a",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 96,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.1678,
    "h": 135.7
  },
  "luminance": 0.28181
}

Semantic roles & 50–950 ramp

primary
#5AA22A
secondary
#9D68C0
accent
#46E2A4
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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