#5AA222#5AA222

#5AA222 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.172 H 135.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5AA222
RGBrgb(90, 162, 34)
HSLhsl(94, 65%, 38%)
HSVhsv(94, 79%, 64%)
CMYKcmyk(44.4%, 0%, 79%, 36.5%)
CIE-LABlab(60.00, -43.57, 54.83)
CIE-LCHlch(60.00, 70.03, 128.47°)
OKLaboklab(64.07% -0.1219 0.1217)
OKLCHoklch(64.07% 0.172 135.1)
XYZxyz(17.4251, 28.1288, 6.0243)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA222 #6A22A2
analogous
#9AA222 #5AA222 #22A22A
triadic
#5AA222 #225AA2 #A2225A
tetradic
#5AA222 #229AA2 #6A22A2 #A22A22
square
#5AA222 #229AA2 #6A22A2 #A22A22
split-complementary
#5AA222 #2A22A2 #A2229A
monochromatic
#223D0D #3E6F17 #5AA222 #76D32E #97DE61

Accessibility & contrast

On white

3.17
#5AA222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5AA222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA222
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA222#FFFFFF#000000##000000
##5AA2221.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#589C8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa222;
/* rgb */ color: rgb(90, 162, 34);
/* oklch */ color: oklch(64.1% 0.172 135.1);
Tailwind
colors: {
  custom: {
    50: '#8fbe68',
    500: '#5aa222',
    950: '#000000',
  },
}
SCSS
$custom: #5aa222;
$custom-light: #8fbe68;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa222",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 93.75,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64069,
    "c": 0.17224,
    "h": 135.1
  },
  "luminance": 0.2813
}

Semantic roles & 50–950 ramp

primary
#5AA222
secondary
#965DC3
accent
#40E89E
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA222

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

Preview Lab → · Contrast checker → · Palette generator →

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