#5AA122#5AA122

#5AA122 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.171 H 134.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5AA122
RGBrgb(90, 161, 34)
HSLhsl(94, 65%, 38%)
HSVhsv(94, 79%, 63%)
CMYKcmyk(44.1%, 0%, 78.9%, 36.9%)
CIE-LABlab(59.69, -43.15, 54.53)
CIE-LCHlch(59.69, 69.54, 128.36°)
OKLaboklab(63.81% -0.1208 0.121)
OKLCHoklch(63.81% 0.171 134.9)
XYZxyz(17.2497, 27.7779, 5.9658)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA122 #6922A1
analogous
#99A122 #5AA122 #22A129
triadic
#5AA122 #225AA1 #A1225A
tetradic
#5AA122 #2299A1 #6922A1 #A12922
square
#5AA122 #2299A1 #6922A1 #A12922
split-complementary
#5AA122 #2922A1 #A12299
monochromatic
#223C0D #3E6E17 #5AA122 #76D32D #97DD60

Accessibility & contrast

On white

3.20
#5AA122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5AA122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA122
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA122#FFFFFF#000000##000000
##5AA1221.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#589B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa122;
/* rgb */ color: rgb(90, 161, 34);
/* oklch */ color: oklch(63.8% 0.171 134.9);
Tailwind
colors: {
  custom: {
    50: '#8fbd68',
    500: '#5aa122',
    950: '#000000',
  },
}
SCSS
$custom: #5aa122;
$custom-light: #8fbd68;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa122",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 93.543,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.17101,
    "h": 134.9
  },
  "luminance": 0.27779
}

Semantic roles & 50–950 ramp

primary
#5AA122
secondary
#955DC2
accent
#40E89E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA122

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

Preview Lab → · Contrast checker → · Palette generator →

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