#5AA621#5AA621

#5AA621 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.1% C 0.178 H 135.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5AA621
RGBrgb(90, 166, 33)
HSLhsl(94, 67%, 39%)
HSVhsv(94, 80%, 65%)
CMYKcmyk(45.8%, 0%, 80.1%, 34.9%)
CIE-LABlab(61.27, -45.25, 56.33)
CIE-LCHlch(61.27, 72.25, 128.78°)
OKLaboklab(65.1% -0.1265 0.1247)
OKLCHoklch(65.1% 0.178 135.4)
XYZxyz(18.1268, 29.5548, 6.1880)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA621 #6D21A6
analogous
#9DA621 #5AA621 #21A62B
triadic
#5AA621 #215AA6 #A6215A
tetradic
#5AA621 #219DA6 #6D21A6 #A62B21
square
#5AA621 #219DA6 #6D21A6 #A62B21
split-complementary
#5AA621 #2B21A6 #A6219D
monochromatic
#23400D #3E7317 #5AA621 #76D62F #98E062

Accessibility & contrast

On white

3.04
#5AA621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5AA621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA621
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA621#FFFFFF#000000##000000
##5AA6211.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#57A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5aa621;
/* rgb */ color: rgb(90, 166, 33);
/* oklch */ color: oklch(65.1% 0.178 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c168',
    500: '#5aa621',
    950: '#000000',
  },
}
SCSS
$custom: #5aa621;
$custom-light: #90c168;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa621",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 94.286,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65104,
    "c": 0.17759,
    "h": 135.4
  },
  "luminance": 0.29556
}

Semantic roles & 50–950 ramp

primary
#5AA621
secondary
#995EC5
accent
#3EEAA0
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA621

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

Preview Lab → · Contrast checker → · Palette generator →

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