#5AAC21#5AAC21

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

Color values

HEX#5AAC21
RGBrgb(90, 172, 33)
HSLhsl(95, 68%, 40%)
HSVhsv(95, 81%, 67%)
CMYKcmyk(47.7%, 0%, 80.8%, 32.5%)
CIE-LABlab(63.17, -47.64, 58.09)
CIE-LCHlch(63.17, 75.13, 129.36°)
OKLaboklab(66.66% -0.1329 0.1284)
OKLCHoklch(66.66% 0.185 136)
XYZxyz(19.2430, 31.7872, 6.5601)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC21 #7321AC
analogous
#9FAC21 #5AAC21 #21AC2E
triadic
#5AAC21 #215AAC #AC215A
tetradic
#5AAC21 #219FAC #7321AC #AC2E21
square
#5AAC21 #219FAC #7321AC #AC2E21
split-complementary
#5AAC21 #2E21AC #AC219F
monochromatic
#24450D #3F7917 #5AAC21 #76D832 #99E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAC21#FFFFFF#000000##000000
##5AAC211.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: #5aac21;
/* rgb */ color: rgb(90, 172, 33);
/* oklch */ color: oklch(66.7% 0.185 136.0);
Tailwind
colors: {
  custom: {
    50: '#91c569',
    500: '#5aac21',
    950: '#000000',
  },
}
SCSS
$custom: #5aac21;
$custom-light: #91c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac21",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 95.396,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66664,
    "c": 0.18478,
    "h": 136
  },
  "luminance": 0.31789
}

Semantic roles & 50–950 ramp

primary
#5AAC21
secondary
#9E62C7
accent
#3DEBA4
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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