#5AAC22#5AAC22

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

Color values

HEX#5AAC22
RGBrgb(90, 172, 34)
HSLhsl(96, 67%, 40%)
HSVhsv(96, 80%, 67%)
CMYKcmyk(47.7%, 0%, 80.2%, 32.5%)
CIE-LABlab(63.17, -47.59, 57.80)
CIE-LCHlch(63.17, 74.87, 129.47°)
OKLaboklab(66.67% -0.1327 0.1279)
OKLCHoklch(66.67% 0.184 136.1)
XYZxyz(19.2572, 31.7929, 6.6350)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC22 #7422AC
analogous
#9FAC22 #5AAC22 #22AC2F
triadic
#5AAC22 #225AAC #AC225A
tetradic
#5AAC22 #229FAC #7422AC #AC2F22
square
#5AAC22 #229FAC #7422AC #AC2F22
split-complementary
#5AAC22 #2F22AC #AC229F
monochromatic
#25460E #3F7918 #5AAC22 #76D734 #99E167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAC22#FFFFFF#000000##000000
##5AAC221.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)
#A79632
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac22;
/* rgb */ color: rgb(90, 172, 34);
/* oklch */ color: oklch(66.7% 0.184 136.1);
Tailwind
colors: {
  custom: {
    50: '#90c569',
    500: '#5aac22',
    950: '#000000',
  },
}
SCSS
$custom: #5aac22;
$custom-light: #90c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac22",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 95.652,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6667,
    "c": 0.18432,
    "h": 136.1
  },
  "luminance": 0.31794
}

Semantic roles & 50–950 ramp

primary
#5AAC22
secondary
#9E63C7
accent
#3EEAA4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAC22

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

Preview Lab → · Contrast checker → · Palette generator →

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