#5AA72B#5AA72B

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

Color values

HEX#5AA72B
RGBrgb(90, 167, 43)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 74%, 65%)
CMYKcmyk(46.1%, 0%, 74.3%, 34.5%)
CIE-LABlab(61.64, -45.04, 53.37)
CIE-LCHlch(61.64, 69.84, 130.17°)
OKLaboklab(65.43% -0.1253 0.1199)
OKLCHoklch(65.43% 0.173 136.3)
XYZxyz(18.4707, 29.9843, 7.0993)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA72B #782BA7
analogous
#98A72B #5AA72B #2BA73A
triadic
#5AA72B #2B5AA7 #A72B5A
tetradic
#5AA72B #2B98A7 #782BA7 #A73A2B
square
#5AA72B #2B98A7 #782BA7 #A73A2B
split-complementary
#5AA72B #3A2BA7 #A72B98
monochromatic
#264612 #40761E #5AA72B #77CE41 #9ADB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA72B#FFFFFF#000000##000000
##5AA72B1.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)
#AD9913
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#57A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa72b;
/* rgb */ color: rgb(90, 167, 43);
/* oklch */ color: oklch(65.4% 0.173 136.3);
Tailwind
colors: {
  custom: {
    50: '#8fc26d',
    500: '#5aa72b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa72b;
$custom-light: #8fc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa72b",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 97.258,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65428,
    "c": 0.17346,
    "h": 136.3
  },
  "luminance": 0.29986
}

Semantic roles & 50–950 ramp

primary
#5AA72B
secondary
#A16CC2
accent
#46E2A7
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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