#21AA31#21AA31

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

Color values

HEX#21AA31
RGBrgb(33, 170, 49)
HSLhsl(127, 67%, 40%)
HSVhsv(127, 81%, 67%)
CMYKcmyk(80.6%, 0%, 71.2%, 33.3%)
CIE-LABlab(61.04, -58.57, 49.98)
CIE-LCHlch(61.04, 77.00, 139.53°)
OKLaboklab(64.49% -0.1583 0.1142)
OKLCHoklch(64.49% 0.195 144.2)
XYZxyz(15.5552, 29.2926, 7.7394)
Luminance0.2929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA31 #AA219A
analogous
#56AA21 #21AA31 #21AA75
triadic
#21AA31 #3121AA #AA3121
tetradic
#21AA31 #2156AA #AA219A #AA7521
square
#21AA31 #2156AA #AA219A #AA7521
split-complementary
#21AA31 #7521AA #AA2156
monochromatic
#0D4313 #177722 #21AA31 #31D745 #64E173

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AA31#FFFFFF#000000##000000
##21AA311.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)
#AD9A1E
Deuteranopia (green-blind)
#9F8F3D
Tritanopia (blue-blind)
#00A592
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21aa31;
/* rgb */ color: rgb(33, 170, 49);
/* oklch */ color: oklch(64.5% 0.195 144.2);
Tailwind
colors: {
  custom: {
    50: '#76c570',
    500: '#21aa31',
    950: '#000000',
  },
}
SCSS
$custom: #21aa31;
$custom-light: #76c570;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa31",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 127.007,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.19515,
    "h": 144.2
  },
  "luminance": 0.29295
}

Semantic roles & 50–950 ramp

primary
#21AA31
secondary
#C661BA
accent
#3DD6EA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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