#21AA5B#21AA5B

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

Color values

HEX#21AA5B
RGBrgb(33, 170, 91)
HSLhsl(145, 67%, 40%)
HSVhsv(145, 81%, 67%)
CMYKcmyk(80.6%, 0%, 46.5%, 33.3%)
CIE-LABlab(61.50, -52.97, 30.88)
CIE-LCHlch(61.50, 61.32, 149.76°)
OKLaboklab(65.03% -0.1423 0.0758)
OKLCHoklch(65.03% 0.161 152)
XYZxyz(16.8887, 29.8260, 14.7624)
Luminance0.2983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA5B #AA2170
analogous
#2CAA21 #21AA5B #21AA9F
triadic
#21AA5B #5B21AA #AA5B21
tetradic
#21AA5B #212CAA #AA2170 #AA9F21
square
#21AA5B #212CAA #AA2170 #AA9F21
split-complementary
#21AA5B #9F21AA #AA212C
monochromatic
#0D4324 #177740 #21AA5B #31D777 #64E199

Accessibility & contrast

On white

3.01
#21AA5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#21AA5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA5B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA5B#FFFFFF#000000##000000
##21AA5B1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21aa5b;
/* rgb */ color: rgb(33, 170, 91);
/* oklch */ color: oklch(65.0% 0.161 152.0);
Tailwind
colors: {
  custom: {
    50: '#74c48a',
    500: '#21aa5b',
    950: '#000000',
  },
}
SCSS
$custom: #21aa5b;
$custom-light: #74c48a;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa5b",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 91
  },
  "hsl": {
    "h": 145.401,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65027,
    "c": 0.16119,
    "h": 152
  },
  "luminance": 0.29828
}

Semantic roles & 50–950 ramp

primary
#21AA5B
secondary
#C6619B
accent
#3DA1EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #21AA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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