#21AD42#21AD42

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

Color values

HEX#21AD42
RGBrgb(33, 173, 66)
HSLhsl(134, 68%, 40%)
HSVhsv(134, 81%, 68%)
CMYKcmyk(80.9%, 0%, 61.8%, 32.2%)
CIE-LABlab(62.17, -57.72, 43.98)
CIE-LCHlch(62.17, 72.56, 142.69°)
OKLaboklab(65.48% -0.1553 0.1033)
OKLCHoklch(65.48% 0.187 146.4)
XYZxyz(16.5529, 30.6018, 10.1875)
Luminance0.3060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AD42 #AD218C
analogous
#46AD21 #21AD42 #21AD88
triadic
#21AD42 #4221AD #AD4221
tetradic
#21AD42 #2146AD #AD218C #AD8821
square
#21AD42 #2146AD #AD218C #AD8821
split-complementary
#21AD42 #8821AD #AD2146
monochromatic
#0D461B #177A2E #21AD42 #33D85A #66E284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AD42#FFFFFF#000000##000000
##21AD421.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)
#AF9D36
Deuteranopia (green-blind)
#A0924B
Tritanopia (blue-blind)
#00A996
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #21ad42;
/* rgb */ color: rgb(33, 173, 66);
/* oklch */ color: oklch(65.5% 0.187 146.4);
Tailwind
colors: {
  custom: {
    50: '#76c77a',
    500: '#21ad42',
    950: '#000000',
  },
}
SCSS
$custom: #21ad42;
$custom-light: #76c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#21ad42",
  "rgb": {
    "r": 33,
    "g": 173,
    "b": 66
  },
  "hsl": {
    "h": 134.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65478,
    "c": 0.18651,
    "h": 146.4
  },
  "luminance": 0.30604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21AD42

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

Preview Lab → · Contrast checker → · Palette generator →

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