#21AA2F#21AA2F

#21AA2F is a light, vivid green. Relative luminance 0.293; OKLCH L 64.5% C 0.196 H 144.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#21AA2F
RGBrgb(33, 170, 47)
HSLhsl(126, 67%, 40%)
HSVhsv(126, 81%, 67%)
CMYKcmyk(80.6%, 0%, 72.4%, 33.3%)
CIE-LABlab(61.02, -58.75, 50.74)
CIE-LCHlch(61.02, 77.63, 139.19°)
OKLaboklab(64.47% -0.1588 0.1155)
OKLCHoklch(64.47% 0.196 144)
XYZxyz(15.5140, 29.2761, 7.5220)
Luminance0.2928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA2F #AA219C
analogous
#58AA21 #21AA2F #21AA73
triadic
#21AA2F #2F21AA #AA2F21
tetradic
#21AA2F #2158AA #AA219C #AA7321
square
#21AA2F #2158AA #AA219C #AA7321
split-complementary
#21AA2F #7321AA #AA2158
monochromatic
#0D4313 #177721 #21AA2F #31D742 #64E171

Accessibility & contrast

On white

3.06
#21AA2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#21AA2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA2F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA2F#FFFFFF#000000##000000
##21AA2F1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21aa2f;
/* rgb */ color: rgb(33, 170, 47);
/* oklch */ color: oklch(64.5% 0.196 144.0);
Tailwind
colors: {
  custom: {
    50: '#76c56f',
    500: '#21aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #21aa2f;
$custom-light: #76c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa2f",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 126.131,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.1964,
    "h": 144
  },
  "luminance": 0.29278
}

Semantic roles & 50–950 ramp

primary
#21AA2F
secondary
#C661BC
accent
#3DD9EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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