#5AA822#5AA822

#5AA822 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.6% C 0.180 H 135.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5AA822
RGBrgb(90, 168, 34)
HSLhsl(95, 66%, 40%)
HSVhsv(95, 80%, 66%)
CMYKcmyk(46.4%, 0%, 79.8%, 34.1%)
CIE-LABlab(61.91, -46.00, 56.62)
CIE-LCHlch(61.91, 72.95, 129.09°)
OKLaboklab(65.63% -0.1285 0.1254)
OKLCHoklch(65.63% 0.18 135.7)
XYZxyz(18.5074, 30.2932, 6.3850)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA822 #7022A8
analogous
#9DA822 #5AA822 #22A82D
triadic
#5AA822 #225AA8 #A8225A
tetradic
#5AA822 #229DA8 #7022A8 #A82D22
square
#5AA822 #229DA8 #7022A8 #A82D22
split-complementary
#5AA822 #2D22A8 #A8229D
monochromatic
#23420D #3F7518 #5AA822 #76D532 #98E065

Accessibility & contrast

On white

2.98
#5AA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5AA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA822
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA822#FFFFFF#000000##000000
##5AA8221.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#57A18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa822;
/* rgb */ color: rgb(90, 168, 34);
/* oklch */ color: oklch(65.6% 0.180 135.7);
Tailwind
colors: {
  custom: {
    50: '#90c269',
    500: '#5aa822',
    950: '#000000',
  },
}
SCSS
$custom: #5aa822;
$custom-light: #90c269;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa822",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 94.925,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6563,
    "c": 0.17953,
    "h": 135.7
  },
  "luminance": 0.30294
}

Semantic roles & 50–950 ramp

primary
#5AA822
secondary
#9B61C5
accent
#3FE9A2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA822

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

Preview Lab → · Contrast checker → · Palette generator →

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