#5AAC20#5AAC20

#5AAC20 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.185 H 135.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5AAC20
RGBrgb(90, 172, 32)
HSLhsl(95, 69%, 40%)
HSVhsv(95, 81%, 67%)
CMYKcmyk(47.7%, 0%, 81.4%, 32.5%)
CIE-LABlab(63.16, -47.69, 58.37)
CIE-LCHlch(63.16, 75.38, 129.25°)
OKLaboklab(66.66% -0.1331 0.1288)
OKLCHoklch(66.66% 0.185 135.9)
XYZxyz(19.2292, 31.7817, 6.4875)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC20 #7220AC
analogous
#A0AC20 #5AAC20 #20AC2C
triadic
#5AAC20 #205AAC #AC205A
tetradic
#5AAC20 #20A0AC #7220AC #AC2C20
square
#5AAC20 #20A0AC #7220AC #AC2C20
split-complementary
#5AAC20 #2C20AC #AC20A0
monochromatic
#24450D #3F7816 #5AAC20 #76D931 #98E264

Accessibility & contrast

On white

2.85
#5AAC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5AAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAC20
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAC20#FFFFFF#000000##000000
##5AAC201.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac20;
/* rgb */ color: rgb(90, 172, 32);
/* oklch */ color: oklch(66.7% 0.185 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c569',
    500: '#5aac20',
    950: '#000000',
  },
}
SCSS
$custom: #5aac20;
$custom-light: #91c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac20",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 95.143,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.66659,
    "c": 0.18523,
    "h": 135.9
  },
  "luminance": 0.31783
}

Semantic roles & 50–950 ramp

primary
#5AAC20
secondary
#9D60C7
accent
#3CEBA3
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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