#21AD31#21AD31

#21AD31 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.3% C 0.199 H 144.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#21AD31
RGBrgb(33, 173, 49)
HSLhsl(127, 68%, 40%)
HSVhsv(127, 81%, 68%)
CMYKcmyk(80.9%, 0%, 71.7%, 32.2%)
CIE-LABlab(62.02, -59.52, 51.01)
CIE-LCHlch(62.02, 78.39, 139.41°)
OKLaboklab(65.31% -0.1609 0.1163)
OKLCHoklch(65.31% 0.199 144.1)
XYZxyz(16.1240, 30.4303, 7.9290)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AD31 #AD219D
analogous
#57AD21 #21AD31 #21AD77
triadic
#21AD31 #3121AD #AD3121
tetradic
#21AD31 #2157AD #AD219D #AD7721
square
#21AD31 #2157AD #AD219D #AD7721
split-complementary
#21AD31 #7721AD #AD2157
monochromatic
#0D4614 #177A22 #21AD31 #33D846 #66E275

Accessibility & contrast

On white

2.96
#21AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#21AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AD31
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AD31#FFFFFF#000000##000000
##21AD311.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A1923E
Tritanopia (blue-blind)
#00A894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #21ad31;
/* rgb */ color: rgb(33, 173, 49);
/* oklch */ color: oklch(65.3% 0.199 144.1);
Tailwind
colors: {
  custom: {
    50: '#77c770',
    500: '#21ad31',
    950: '#000000',
  },
}
SCSS
$custom: #21ad31;
$custom-light: #77c770;
$custom-dark: #000000;
JSON
{
  "hex": "#21ad31",
  "rgb": {
    "r": 33,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 126.857,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6531,
    "c": 0.1985,
    "h": 144.1
  },
  "luminance": 0.30432
}

Semantic roles & 50–950 ramp

primary
#21AD31
secondary
#C762BC
accent
#3DD7EB
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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