#5AA22B#5AA22B

#5AA22B is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.167 H 135.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5AA22B
RGBrgb(90, 162, 43)
HSLhsl(96, 58%, 40%)
HSVhsv(96, 73%, 64%)
CMYKcmyk(44.4%, 0%, 73.5%, 36.5%)
CIE-LABlab(60.06, -43.00, 51.78)
CIE-LCHlch(60.06, 67.31, 129.70°)
OKLaboklab(64.13% -0.1198 0.1166)
OKLCHoklch(64.13% 0.167 135.8)
XYZxyz(17.5724, 28.1877, 6.7999)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA22B #732BA2
analogous
#95A22B #5AA22B #2BA238
triadic
#5AA22B #2B5AA2 #A22B5A
tetradic
#5AA22B #2B95A2 #732BA2 #A2382B
square
#5AA22B #2B95A2 #732BA2 #A2382B
split-complementary
#5AA22B #382BA2 #A22B95
monochromatic
#244111 #3F721E #5AA22B #76CC3E #99D96F

Accessibility & contrast

On white

3.16
#5AA22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5AA22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA22B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA22B#FFFFFF#000000##000000
##5AA22B1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#579C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa22b;
/* rgb */ color: rgb(90, 162, 43);
/* oklch */ color: oklch(64.1% 0.167 135.8);
Tailwind
colors: {
  custom: {
    50: '#8fbe6c',
    500: '#5aa22b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa22b;
$custom-light: #8fbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa22b",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 96.303,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64129,
    "c": 0.16719,
    "h": 135.8
  },
  "luminance": 0.28189
}

Semantic roles & 50–950 ramp

primary
#5AA22B
secondary
#9E69C0
accent
#47E1A4
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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