#21AD40#21AD40

#21AD40 is a light, vivid green. Relative luminance 0.306; OKLCH L 65.5% C 0.188 H 146.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#21AD40
RGBrgb(33, 173, 64)
HSLhsl(133, 68%, 40%)
HSVhsv(133, 81%, 68%)
CMYKcmyk(80.9%, 0%, 63%, 32.2%)
CIE-LABlab(62.15, -57.96, 44.86)
CIE-LCHlch(62.15, 73.29, 142.26°)
OKLaboklab(65.46% -0.156 0.105)
OKLCHoklch(65.46% 0.188 146.1)
XYZxyz(16.4949, 30.5786, 9.8824)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AD40 #AD218E
analogous
#48AD21 #21AD40 #21AD86
triadic
#21AD40 #4021AD #AD4021
tetradic
#21AD40 #2148AD #AD218E #AD8621
square
#21AD40 #2148AD #AD218E #AD8621
split-complementary
#21AD40 #8621AD #AD2148
monochromatic
#0D461A #177A2D #21AD40 #33D858 #66E282

Accessibility & contrast

On white

2.95
#21AD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#21AD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AD40
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AD40#FFFFFF#000000##000000
##21AD401.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#A09249
Tritanopia (blue-blind)
#00A996
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #21ad40;
/* rgb */ color: rgb(33, 173, 64);
/* oklch */ color: oklch(65.5% 0.188 146.1);
Tailwind
colors: {
  custom: {
    50: '#76c779',
    500: '#21ad40',
    950: '#000000',
  },
}
SCSS
$custom: #21ad40;
$custom-light: #76c779;
$custom-dark: #000000;
JSON
{
  "hex": "#21ad40",
  "rgb": {
    "r": 33,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 133.286,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.18805,
    "h": 146.1
  },
  "luminance": 0.30581
}

Semantic roles & 50–950 ramp

primary
#21AD40
secondary
#C762B1
accent
#3DC4EB
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AD40

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

Preview Lab → · Contrast checker → · Palette generator →

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