#21AC34#21AC34

#21AC34 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.1% C 0.195 H 144.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#21AC34
RGBrgb(33, 172, 52)
HSLhsl(128, 68%, 40%)
HSVhsv(128, 81%, 67%)
CMYKcmyk(80.8%, 0%, 69.8%, 32.5%)
CIE-LABlab(61.72, -58.92, 49.50)
CIE-LCHlch(61.72, 76.96, 139.97°)
OKLaboklab(65.06% -0.1591 0.1135)
OKLCHoklch(65.06% 0.195 144.5)
XYZxyz(15.9984, 30.0744, 8.2099)
Luminance0.3008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC34 #AC2199
analogous
#54AC21 #21AC34 #21AC79
triadic
#21AC34 #3421AC #AC3421
tetradic
#21AC34 #2154AC #AC2199 #AC7921
square
#21AC34 #2154AC #AC2199 #AC7921
split-complementary
#21AC34 #7921AC #AC2154
monochromatic
#0D4515 #177924 #21AC34 #32D849 #66E277

Accessibility & contrast

On white

2.99
#21AC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#21AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AC34
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AC34#FFFFFF#000000##000000
##21AC341.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21ac34;
/* rgb */ color: rgb(33, 172, 52);
/* oklch */ color: oklch(65.1% 0.195 144.5);
Tailwind
colors: {
  custom: {
    50: '#76c672',
    500: '#21ac34',
    950: '#000000',
  },
}
SCSS
$custom: #21ac34;
$custom-light: #76c672;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac34",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 128.201,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65063,
    "c": 0.19546,
    "h": 144.5
  },
  "luminance": 0.30076
}

Semantic roles & 50–950 ramp

primary
#21AC34
secondary
#C762B9
accent
#3DD3EB
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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