#5AAB22#5AAB22

#5AAB22 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.183 H 136.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5AAB22
RGBrgb(90, 171, 34)
HSLhsl(95, 67%, 40%)
HSVhsv(95, 80%, 67%)
CMYKcmyk(47.4%, 0%, 80.1%, 32.9%)
CIE-LABlab(62.86, -47.19, 57.51)
CIE-LCHlch(62.86, 74.39, 129.38°)
OKLaboklab(66.41% -0.1317 0.1273)
OKLCHoklch(66.41% 0.183 136)
XYZxyz(19.0676, 31.4137, 6.5718)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB22 #7322AB
analogous
#9FAB22 #5AAB22 #22AB2E
triadic
#5AAB22 #225AAB #AB225A
tetradic
#5AAB22 #229FAB #7322AB #AB2E22
square
#5AAB22 #229FAB #7322AB #AB2E22
split-complementary
#5AAB22 #2E22AB #AB229F
monochromatic
#24450E #3F7818 #5AAB22 #76D734 #99E167

Accessibility & contrast

On white

2.88
#5AAB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5AAB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB22
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB22#FFFFFF#000000##000000
##5AAB221.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#57A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab22;
/* rgb */ color: rgb(90, 171, 34);
/* oklch */ color: oklch(66.4% 0.183 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c569',
    500: '#5aab22',
    950: '#000000',
  },
}
SCSS
$custom: #5aab22;
$custom-light: #90c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab22",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 95.474,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.18312,
    "h": 136
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#5AAB22
secondary
#9D63C6
accent
#3EEAA4
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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