#5AA72A#5AA72A

#5AA72A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.4% C 0.174 H 136.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5AA72A
RGBrgb(90, 167, 42)
HSLhsl(97, 60%, 41%)
HSVhsv(97, 75%, 65%)
CMYKcmyk(46.1%, 0%, 74.9%, 34.5%)
CIE-LABlab(61.63, -45.11, 53.72)
CIE-LCHlch(61.63, 70.15, 130.02°)
OKLaboklab(65.42% -0.1256 0.1205)
OKLCHoklch(65.42% 0.174 136.2)
XYZxyz(18.4526, 29.9771, 7.0039)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA72A #772AA7
analogous
#98A72A #5AA72A #2AA738
triadic
#5AA72A #2A5AA7 #A72A5A
tetradic
#5AA72A #2A98A7 #772AA7 #A7382A
square
#5AA72A #2A98A7 #772AA7 #A7382A
split-complementary
#5AA72A #382AA7 #A72A98
monochromatic
#254511 #40761E #5AA72A #76CF3F #99DB70

Accessibility & contrast

On white

3.00
#5AA72A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5AA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA72A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA72A#FFFFFF#000000##000000
##5AA72A1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9910
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#57A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa72a;
/* rgb */ color: rgb(90, 167, 42);
/* oklch */ color: oklch(65.4% 0.174 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c26c',
    500: '#5aa72a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa72a;
$custom-light: #90c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa72a",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 96.96,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65421,
    "c": 0.17405,
    "h": 136.2
  },
  "luminance": 0.29978
}

Semantic roles & 50–950 ramp

primary
#5AA72A
secondary
#A16BC2
accent
#45E3A6
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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