#5AA322#5AA322

#5AA322 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.3% C 0.173 H 135.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5AA322
RGBrgb(90, 163, 34)
HSLhsl(94, 65%, 39%)
HSVhsv(94, 79%, 64%)
CMYKcmyk(44.8%, 0%, 79.1%, 36.1%)
CIE-LABlab(60.32, -43.98, 55.13)
CIE-LCHlch(60.32, 70.52, 128.58°)
OKLaboklab(64.33% -0.123 0.1223)
OKLCHoklch(64.33% 0.173 135.2)
XYZxyz(17.6020, 28.4825, 6.0832)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA322 #6B22A3
analogous
#9AA322 #5AA322 #22A32A
triadic
#5AA322 #225AA3 #A3225A
tetradic
#5AA322 #229AA3 #6B22A3 #A32A22
square
#5AA322 #229AA3 #6B22A3 #A32A22
split-complementary
#5AA322 #2A22A3 #A3229A
monochromatic
#223E0D #3E7017 #5AA322 #76D42F #97DE61

Accessibility & contrast

On white

3.14
#5AA322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5AA322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA322
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA322#FFFFFF#000000##000000
##5AA3221.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#589D8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa322;
/* rgb */ color: rgb(90, 163, 34);
/* oklch */ color: oklch(64.3% 0.173 135.2);
Tailwind
colors: {
  custom: {
    50: '#8fbf68',
    500: '#5aa322',
    950: '#000000',
  },
}
SCSS
$custom: #5aa322;
$custom-light: #8fbf68;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa322",
  "rgb": {
    "r": 90,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 93.953,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64329,
    "c": 0.17347,
    "h": 135.2
  },
  "luminance": 0.28484
}

Semantic roles & 50–950 ramp

primary
#5AA322
secondary
#975EC3
accent
#3FE89F
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA322

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

Preview Lab → · Contrast checker → · Palette generator →

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