#5AA52A#5AA52A

#5AA52A is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.172 H 136.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5AA52A
RGBrgb(90, 165, 42)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 75%, 65%)
CMYKcmyk(45.5%, 0%, 74.5%, 35.3%)
CIE-LABlab(61.00, -44.30, 53.09)
CIE-LCHlch(61.00, 69.15, 129.84°)
OKLaboklab(64.9% -0.1234 0.1192)
OKLCHoklch(64.9% 0.172 136)
XYZxyz(18.0890, 29.2500, 6.8827)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA52A #752AA5
analogous
#97A52A #5AA52A #2AA537
triadic
#5AA52A #2A5AA5 #A52A5A
tetradic
#5AA52A #2A97A5 #752AA5 #A5372A
square
#5AA52A #2A97A5 #752AA5 #A5372A
split-complementary
#5AA52A #372AA5 #A52A97
monochromatic
#254311 #3F741E #5AA52A #76CE3E #99DA6F

Accessibility & contrast

On white

3.07
#5AA52A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5AA52A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA52A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA52A#FFFFFF#000000##000000
##5AA52A1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9712
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa52a;
/* rgb */ color: rgb(90, 165, 42);
/* oklch */ color: oklch(64.9% 0.172 136.0);
Tailwind
colors: {
  custom: {
    50: '#8fc06c',
    500: '#5aa52a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa52a;
$custom-light: #8fc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa52a",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 96.585,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64902,
    "c": 0.17157,
    "h": 136
  },
  "luminance": 0.29251
}

Semantic roles & 50–950 ramp

primary
#5AA52A
secondary
#9F69C1
accent
#45E3A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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