#5AA921#5AA921

#5AA921 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 65.9% C 0.181 H 135.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5AA921
RGBrgb(90, 169, 33)
HSLhsl(95, 67%, 40%)
HSVhsv(95, 80%, 66%)
CMYKcmyk(46.7%, 0%, 80.5%, 33.7%)
CIE-LABlab(62.22, -46.45, 57.21)
CIE-LCHlch(62.22, 73.69, 129.07°)
OKLaboklab(65.89% -0.1297 0.1265)
OKLCHoklch(65.89% 0.181 135.7)
XYZxyz(18.6785, 30.6582, 6.3719)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA921 #7021A9
analogous
#9EA921 #5AA921 #21A92C
triadic
#5AA921 #215AA9 #A9215A
tetradic
#5AA921 #219EA9 #7021A9 #A92C21
square
#5AA921 #219EA9 #7021A9 #A92C21
split-complementary
#5AA921 #2C21A9 #A9219E
monochromatic
#23430D #3F7617 #5AA921 #76D731 #98E164

Accessibility & contrast

On white

2.94
#5AA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#5AA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA921
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA921#FFFFFF#000000##000000
##5AA9211.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#57A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa921;
/* rgb */ color: rgb(90, 169, 33);
/* oklch */ color: oklch(65.9% 0.181 135.7);
Tailwind
colors: {
  custom: {
    50: '#90c369',
    500: '#5aa921',
    950: '#000000',
  },
}
SCSS
$custom: #5aa921;
$custom-light: #90c369;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa921",
  "rgb": {
    "r": 90,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 94.853,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65885,
    "c": 0.1812,
    "h": 135.7
  },
  "luminance": 0.30659
}

Semantic roles & 50–950 ramp

primary
#5AA921
secondary
#9B60C6
accent
#3EEAA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA921

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

Preview Lab → · Contrast checker → · Palette generator →

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