#21AA2B#21AA2B

#21AA2B is a light, vivid green. Relative luminance 0.292; OKLCH L 64.4% C 0.199 H 143.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#21AA2B
RGBrgb(33, 170, 43)
HSLhsl(124, 67%, 40%)
HSVhsv(124, 81%, 67%)
CMYKcmyk(80.6%, 0%, 74.7%, 33.3%)
CIE-LABlab(61.00, -59.09, 52.19)
CIE-LCHlch(61.00, 78.84, 138.54°)
OKLaboklab(64.44% -0.1599 0.118)
OKLCHoklch(64.44% 0.199 143.6)
XYZxyz(15.4369, 29.2453, 7.1164)
Luminance0.2925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA2B #AA21A0
analogous
#5BAA21 #21AA2B #21AA70
triadic
#21AA2B #2B21AA #AA2B21
tetradic
#21AA2B #215BAA #AA21A0 #AA7021
square
#21AA2B #215BAA #AA21A0 #AA7021
split-complementary
#21AA2B #7021AA #AA215B
monochromatic
#0D4311 #17771E #21AA2B #31D73D #64E16E

Accessibility & contrast

On white

3.07
#21AA2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#21AA2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA2B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA2B#FFFFFF#000000##000000
##21AA2B1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#00A592
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21aa2b;
/* rgb */ color: rgb(33, 170, 43);
/* oklch */ color: oklch(64.4% 0.199 143.6);
Tailwind
colors: {
  custom: {
    50: '#76c56d',
    500: '#21aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #21aa2b;
$custom-light: #76c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa2b",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 124.38,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.19877,
    "h": 143.6
  },
  "luminance": 0.29247
}

Semantic roles & 50–950 ramp

primary
#21AA2B
secondary
#C661BF
accent
#3DDEEA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #21AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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