#21AC31#21AC31

#21AC31 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.0% C 0.197 H 144.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#21AC31
RGBrgb(33, 172, 49)
HSLhsl(127, 68%, 40%)
HSVhsv(127, 81%, 67%)
CMYKcmyk(80.8%, 0%, 71.5%, 32.5%)
CIE-LABlab(61.70, -59.20, 50.66)
CIE-LCHlch(61.70, 77.92, 139.44°)
OKLaboklab(65.04% -0.16 0.1156)
OKLCHoklch(65.04% 0.197 144.2)
XYZxyz(15.9330, 30.0482, 7.8653)
Luminance0.3005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC31 #AC219C
analogous
#57AC21 #21AC31 #21AC76
triadic
#21AC31 #3121AC #AC3121
tetradic
#21AC31 #2157AC #AC219C #AC7621
square
#21AC31 #2157AC #AC219C #AC7621
split-complementary
#21AC31 #7621AC #AC2157
monochromatic
#0D4514 #177922 #21AC31 #32D845 #66E274

Accessibility & contrast

On white

3.00
#21AC31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#21AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AC31
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AC31#FFFFFF#000000##000000
##21AC311.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac31;
/* rgb */ color: rgb(33, 172, 49);
/* oklch */ color: oklch(65.0% 0.197 144.2);
Tailwind
colors: {
  custom: {
    50: '#77c670',
    500: '#21ac31',
    950: '#000000',
  },
}
SCSS
$custom: #21ac31;
$custom-light: #77c670;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac31",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 126.906,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65037,
    "c": 0.19739,
    "h": 144.2
  },
  "luminance": 0.3005
}

Semantic roles & 50–950 ramp

primary
#21AC31
secondary
#C762BB
accent
#3DD7EB
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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