#21AC2F#21AC2F

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

Color values

HEX#21AC2F
RGBrgb(33, 172, 47)
HSLhsl(126, 68%, 40%)
HSVhsv(126, 81%, 67%)
CMYKcmyk(80.8%, 0%, 72.7%, 32.5%)
CIE-LABlab(61.68, -59.38, 51.41)
CIE-LCHlch(61.68, 78.55, 139.11°)
OKLaboklab(65.02% -0.1606 0.1169)
OKLCHoklch(65.02% 0.199 143.9)
XYZxyz(15.8917, 30.0317, 7.6479)
Luminance0.3003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC2F #AC219E
analogous
#59AC21 #21AC2F #21AC74
triadic
#21AC2F #2F21AC #AC2F21
tetradic
#21AC2F #2159AC #AC219E #AC7421
square
#21AC2F #2159AC #AC219E #AC7421
split-complementary
#21AC2F #7421AC #AC2159
monochromatic
#0D4513 #177921 #21AC2F #32D843 #66E272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC2F#FFFFFF#000000##000000
##21AC2F1.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)
#AF9B19
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac2f;
/* rgb */ color: rgb(33, 172, 47);
/* oklch */ color: oklch(65.0% 0.199 143.9);
Tailwind
colors: {
  custom: {
    50: '#77c66f',
    500: '#21ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #21ac2f;
$custom-light: #77c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac2f",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 126.043,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.19862,
    "h": 143.9
  },
  "luminance": 0.30034
}

Semantic roles & 50–950 ramp

primary
#21AC2F
secondary
#C762BD
accent
#3DD9EB
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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