#5AA02A#5AA02A

#5AA02A is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.165 H 135.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5AA02A
RGBrgb(90, 160, 42)
HSLhsl(96, 58%, 40%)
HSVhsv(96, 74%, 63%)
CMYKcmyk(43.7%, 0%, 73.8%, 37.3%)
CIE-LABlab(59.42, -42.23, 51.51)
CIE-LCHlch(59.42, 66.61, 129.35°)
OKLaboklab(63.6% -0.1178 0.1159)
OKLCHoklch(63.6% 0.165 135.5)
XYZxyz(17.2048, 27.4814, 6.5879)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA02A #702AA0
analogous
#95A02A #5AA02A #2AA035
triadic
#5AA02A #2A5AA0 #A02A5A
tetradic
#5AA02A #2A95A0 #702AA0 #A0352A
square
#5AA02A #2A95A0 #702AA0 #A0352A
split-complementary
#5AA02A #352AA0 #A02A95
monochromatic
#233F11 #3F701D #5AA02A #76CC3C #98D86C

Accessibility & contrast

On white

3.23
#5AA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5AA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA02A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA02A#FFFFFF#000000##000000
##5AA02A1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#589A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa02a;
/* rgb */ color: rgb(90, 160, 42);
/* oklch */ color: oklch(63.6% 0.165 135.5);
Tailwind
colors: {
  custom: {
    50: '#8fbc6c',
    500: '#5aa02a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa02a;
$custom-light: #8fbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa02a",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 95.593,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63602,
    "c": 0.16527,
    "h": 135.5
  },
  "luminance": 0.27482
}

Semantic roles & 50–950 ramp

primary
#5AA02A
secondary
#9B67BF
accent
#46E2A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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