#21AC2E#21AC2E

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

Color values

HEX#21AC2E
RGBrgb(33, 172, 46)
HSLhsl(126, 68%, 40%)
HSVhsv(126, 81%, 67%)
CMYKcmyk(80.8%, 0%, 73.3%, 32.5%)
CIE-LABlab(61.67, -59.47, 51.78)
CIE-LCHlch(61.67, 78.85, 138.95°)
OKLaboklab(65.01% -0.1608 0.1176)
OKLCHoklch(65.01% 0.199 143.8)
XYZxyz(15.8718, 30.0237, 7.5429)
Luminance0.3003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC2E #AC219F
analogous
#59AC21 #21AC2E #21AC74
triadic
#21AC2E #2E21AC #AC2E21
tetradic
#21AC2E #2159AC #AC219F #AC7421
square
#21AC2E #2159AC #AC219F #AC7421
split-complementary
#21AC2E #7421AC #AC2159
monochromatic
#0D4513 #177920 #21AC2E #32D842 #66E271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC2E#FFFFFF#000000##000000
##21AC2E1.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)
#AF9B17
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac2e;
/* rgb */ color: rgb(33, 172, 46);
/* oklch */ color: oklch(65.0% 0.199 143.8);
Tailwind
colors: {
  custom: {
    50: '#77c66f',
    500: '#21ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #21ac2e;
$custom-light: #77c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac2e",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 125.612,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.19923,
    "h": 143.8
  },
  "luminance": 0.30026
}

Semantic roles & 50–950 ramp

primary
#21AC2E
secondary
#C762BE
accent
#3DDAEB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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