#21AE42#21AE42

#21AE42 is a light, vivid green. Relative luminance 0.310; OKLCH L 65.7% C 0.188 H 146.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#21AE42
RGBrgb(33, 174, 66)
HSLhsl(134, 68%, 41%)
HSVhsv(134, 81%, 68%)
CMYKcmyk(81%, 0%, 62.1%, 31.8%)
CIE-LABlab(62.50, -58.05, 44.35)
CIE-LCHlch(62.50, 73.05, 142.62°)
OKLaboklab(65.75% -0.1562 0.1041)
OKLCHoklch(65.75% 0.188 146.3)
XYZxyz(16.7454, 30.9867, 10.2517)
Luminance0.3099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AE42 #AE218D
analogous
#46AE21 #21AE42 #21AE89
triadic
#21AE42 #4221AE #AE4221
tetradic
#21AE42 #2146AE #AE218D #AE8921
square
#21AE42 #2146AE #AE218D #AE8921
split-complementary
#21AE42 #8921AE #AE2146
monochromatic
#0D471B #177B2E #21AE42 #34D85A #67E284

Accessibility & contrast

On white

2.92
#21AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#21AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AE42
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AE42#FFFFFF#000000##000000
##21AE421.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E36
Deuteranopia (green-blind)
#A1934B
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #21ae42;
/* rgb */ color: rgb(33, 174, 66);
/* oklch */ color: oklch(65.7% 0.188 146.3);
Tailwind
colors: {
  custom: {
    50: '#76c77a',
    500: '#21ae42',
    950: '#000000',
  },
}
SCSS
$custom: #21ae42;
$custom-light: #76c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#21ae42",
  "rgb": {
    "r": 33,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 134.043,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.18769,
    "h": 146.3
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

primary
#21AE42
secondary
#C863B0
accent
#3DC2EB
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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