#21AC30#21AC30

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

Color values

HEX#21AC30
RGBrgb(33, 172, 48)
HSLhsl(126, 68%, 40%)
HSVhsv(126, 81%, 67%)
CMYKcmyk(80.8%, 0%, 72.1%, 32.5%)
CIE-LABlab(61.69, -59.29, 51.04)
CIE-LCHlch(61.69, 78.24, 139.28°)
OKLaboklab(65.03% -0.1603 0.1163)
OKLCHoklch(65.03% 0.198 144)
XYZxyz(15.9121, 30.0398, 7.7554)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC30 #AC219D
analogous
#57AC21 #21AC30 #21AC76
triadic
#21AC30 #3021AC #AC3021
tetradic
#21AC30 #2157AC #AC219D #AC7621
square
#21AC30 #2157AC #AC219D #AC7621
split-complementary
#21AC30 #7621AC #AC2157
monochromatic
#0D4513 #177922 #21AC30 #32D844 #66E273

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC30#FFFFFF#000000##000000
##21AC301.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)
#AF9B1B
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac30;
/* rgb */ color: rgb(33, 172, 48);
/* oklch */ color: oklch(65.0% 0.198 144.0);
Tailwind
colors: {
  custom: {
    50: '#77c670',
    500: '#21ac30',
    950: '#000000',
  },
}
SCSS
$custom: #21ac30;
$custom-light: #77c670;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac30",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 126.475,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.19801,
    "h": 144
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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