#21AC40#21AC40

#21AC40 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.2% C 0.187 H 146.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#21AC40
RGBrgb(33, 172, 64)
HSLhsl(133, 68%, 40%)
HSVhsv(133, 81%, 67%)
CMYKcmyk(80.8%, 0%, 62.8%, 32.5%)
CIE-LABlab(61.82, -57.63, 44.49)
CIE-LCHlch(61.82, 72.81, 142.33°)
OKLaboklab(65.18% -0.1551 0.1042)
OKLCHoklch(65.18% 0.187 146.1)
XYZxyz(16.3039, 30.1966, 9.8187)
Luminance0.3020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC40 #AC218D
analogous
#48AC21 #21AC40 #21AC85
triadic
#21AC40 #4021AC #AC4021
tetradic
#21AC40 #2148AC #AC218D #AC8521
square
#21AC40 #2148AC #AC218D #AC8521
split-complementary
#21AC40 #8521AC #AC2148
monochromatic
#0D451A #17792D #21AC40 #32D857 #66E281

Accessibility & contrast

On white

2.98
#21AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#21AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AC40
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AC40#FFFFFF#000000##000000
##21AC401.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#9F9149
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac40;
/* rgb */ color: rgb(33, 172, 64);
/* oklch */ color: oklch(65.2% 0.187 146.1);
Tailwind
colors: {
  custom: {
    50: '#76c679',
    500: '#21ac40',
    950: '#000000',
  },
}
SCSS
$custom: #21ac40;
$custom-light: #76c679;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac40",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 133.381,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65184,
    "c": 0.18687,
    "h": 146.1
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#21AC40
secondary
#C762B0
accent
#3DC4EB
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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