#21AA42#21AA42

#21AA42 is a light, vivid green. Relative luminance 0.295; OKLCH L 64.7% C 0.183 H 146.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#21AA42
RGBrgb(33, 170, 66)
HSLhsl(134, 67%, 40%)
HSVhsv(134, 81%, 67%)
CMYKcmyk(80.6%, 0%, 61.2%, 33.3%)
CIE-LABlab(61.19, -56.73, 42.86)
CIE-LCHlch(61.19, 71.09, 142.93°)
OKLaboklab(64.66% -0.1526 0.1009)
OKLCHoklch(64.66% 0.183 146.5)
XYZxyz(15.9841, 29.4642, 9.9979)
Luminance0.2947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA42 #AA2189
analogous
#44AA21 #21AA42 #21AA87
triadic
#21AA42 #4221AA #AA4221
tetradic
#21AA42 #2144AA #AA2189 #AA8721
square
#21AA42 #2144AA #AA2189 #AA8721
split-complementary
#21AA42 #8721AA #AA2144
monochromatic
#0D431A #17772E #21AA42 #31D759 #64E182

Accessibility & contrast

On white

3.05
#21AA42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#21AA42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA42
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA42#FFFFFF#000000##000000
##21AA421.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A37
Deuteranopia (green-blind)
#9D904B
Tritanopia (blue-blind)
#00A694
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21aa42;
/* rgb */ color: rgb(33, 170, 66);
/* oklch */ color: oklch(64.7% 0.183 146.5);
Tailwind
colors: {
  custom: {
    50: '#75c57a',
    500: '#21aa42',
    950: '#000000',
  },
}
SCSS
$custom: #21aa42;
$custom-light: #75c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa42",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 134.453,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.18293,
    "h": 146.5
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#21AA42
secondary
#C661AE
accent
#3DC1EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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