#21AA5A#21AA5A

#21AA5A is a light, vivid green. Relative luminance 0.298; OKLCH L 65.0% C 0.162 H 151.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#21AA5A
RGBrgb(33, 170, 90)
HSLhsl(145, 67%, 40%)
HSVhsv(145, 81%, 67%)
CMYKcmyk(80.6%, 0%, 47.1%, 33.3%)
CIE-LABlab(61.49, -53.15, 31.38)
CIE-LCHlch(61.49, 61.72, 149.44°)
OKLaboklab(65.01% -0.1427 0.0769)
OKLCHoklch(65.01% 0.162 151.7)
XYZxyz(16.8459, 29.8089, 14.5367)
Luminance0.2981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA5A #AA2171
analogous
#2CAA21 #21AA5A #21AA9F
triadic
#21AA5A #5A21AA #AA5A21
tetradic
#21AA5A #212CAA #AA2171 #AA9F21
square
#21AA5A #212CAA #AA2171 #AA9F21
split-complementary
#21AA5A #9F21AA #AA212C
monochromatic
#0D4324 #17773F #21AA5A #31D776 #64E198

Accessibility & contrast

On white

3.02
#21AA5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#21AA5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA5A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA5A#FFFFFF#000000##000000
##21AA5A1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B54
Deuteranopia (green-blind)
#9B9060
Tritanopia (blue-blind)
#00A797
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21aa5a;
/* rgb */ color: rgb(33, 170, 90);
/* oklch */ color: oklch(65.0% 0.162 151.7);
Tailwind
colors: {
  custom: {
    50: '#74c48a',
    500: '#21aa5a',
    950: '#000000',
  },
}
SCSS
$custom: #21aa5a;
$custom-light: #74c48a;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa5a",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 90
  },
  "hsl": {
    "h": 144.964,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.16211,
    "h": 151.7
  },
  "luminance": 0.29811
}

Semantic roles & 50–950 ramp

primary
#21AA5A
secondary
#C6619C
accent
#3DA2EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #21AA5A

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

Preview Lab → · Contrast checker → · Palette generator →

#21AA5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva