#5AA522#5AA522

#5AA522 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.8% C 0.176 H 135.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5AA522
RGBrgb(90, 165, 34)
HSLhsl(94, 66%, 39%)
HSVhsv(94, 79%, 65%)
CMYKcmyk(45.5%, 0%, 79.4%, 35.3%)
CIE-LABlab(60.96, -44.79, 55.73)
CIE-LCHlch(60.96, 71.50, 128.79°)
OKLaboklab(64.85% -0.1252 0.1236)
OKLCHoklch(64.85% 0.176 135.4)
XYZxyz(17.9599, 29.1983, 6.2026)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA522 #6D22A5
analogous
#9CA522 #5AA522 #22A52C
triadic
#5AA522 #225AA5 #A5225A
tetradic
#5AA522 #229CA5 #6D22A5 #A52C22
square
#5AA522 #229CA5 #6D22A5 #A52C22
split-complementary
#5AA522 #2C22A5 #A5229C
monochromatic
#23400D #3E7218 #5AA522 #76D430 #98DF63

Accessibility & contrast

On white

3.07
#5AA522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5AA522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA522
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA522#FFFFFF#000000##000000
##5AA5221.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#589F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa522;
/* rgb */ color: rgb(90, 165, 34);
/* oklch */ color: oklch(64.8% 0.176 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c068',
    500: '#5aa522',
    950: '#000000',
  },
}
SCSS
$custom: #5aa522;
$custom-light: #90c068;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa522",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 94.351,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6485,
    "c": 0.1759,
    "h": 135.4
  },
  "luminance": 0.29199
}

Semantic roles & 50–950 ramp

primary
#5AA522
secondary
#995FC4
accent
#3FE9A0
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA522

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

Preview Lab → · Contrast checker → · Palette generator →

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