#5AA52F#5AA52F

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

Color values

HEX#5AA52F
RGBrgb(90, 165, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 65%)
CMYKcmyk(45.5%, 0%, 71.5%, 35.3%)
CIE-LABlab(61.03, -43.94, 51.26)
CIE-LCHlch(61.03, 67.52, 130.60°)
OKLaboklab(64.94% -0.122 0.1161)
OKLCHoklch(64.94% 0.168 136.4)
XYZxyz(18.1842, 29.2880, 7.3838)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA52F #7A2FA5
analogous
#95A52F #5AA52F #2FA53F
triadic
#5AA52F #2F5AA5 #A52F5A
tetradic
#5AA52F #2F95A5 #7A2FA5 #A53F2F
square
#5AA52F #2F95A5 #7A2FA5 #A53F2F
split-complementary
#5AA52F #3F2FA5 #A52F95
monochromatic
#264614 #407521 #5AA52F #77CB47 #9AD876

Accessibility & contrast

On white

3.06
#5AA52F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5AA52F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA52F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA52F#FFFFFF#000000##000000
##5AA52F1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971C
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#579F8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa52f;
/* rgb */ color: rgb(90, 165, 47);
/* oklch */ color: oklch(64.9% 0.168 136.4);
Tailwind
colors: {
  custom: {
    50: '#8fc06f',
    500: '#5aa52f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa52f;
$custom-light: #8fc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa52f",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 98.136,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.16846,
    "h": 136.4
  },
  "luminance": 0.29289
}

Semantic roles & 50–950 ramp

primary
#5AA52F
secondary
#A370C0
accent
#49DFA8
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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