#21AA40#21AA40

#21AA40 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.6% C 0.185 H 146.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#21AA40
RGBrgb(33, 170, 64)
HSLhsl(134, 67%, 40%)
HSVhsv(134, 81%, 67%)
CMYKcmyk(80.6%, 0%, 62.4%, 33.3%)
CIE-LABlab(61.17, -56.97, 43.75)
CIE-LCHlch(61.17, 71.83, 142.48°)
OKLaboklab(64.64% -0.1533 0.1026)
OKLCHoklch(64.64% 0.185 146.2)
XYZxyz(15.9261, 29.4410, 9.6928)
Luminance0.2944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA40 #AA218B
analogous
#46AA21 #21AA40 #21AA85
triadic
#21AA40 #4021AA #AA4021
tetradic
#21AA40 #2146AA #AA218B #AA8521
square
#21AA40 #2146AA #AA218B #AA8521
split-complementary
#21AA40 #8521AA #AA2146
monochromatic
#0D4319 #17772D #21AA40 #31D757 #64E181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AA40#FFFFFF#000000##000000
##21AA401.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)
#AC9A34
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21aa40;
/* rgb */ color: rgb(33, 170, 64);
/* oklch */ color: oklch(64.6% 0.185 146.2);
Tailwind
colors: {
  custom: {
    50: '#75c579',
    500: '#21aa40',
    950: '#000000',
  },
}
SCSS
$custom: #21aa40;
$custom-light: #75c579;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa40",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 133.577,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.18451,
    "h": 146.2
  },
  "luminance": 0.29443
}

Semantic roles & 50–950 ramp

primary
#21AA40
secondary
#C661AF
accent
#3DC3EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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