#21AC2D#21AC2D

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

Color values

HEX#21AC2D
RGBrgb(33, 172, 45)
HSLhsl(125, 68%, 40%)
HSVhsv(125, 81%, 67%)
CMYKcmyk(80.8%, 0%, 73.8%, 32.5%)
CIE-LABlab(61.67, -59.55, 52.14)
CIE-LCHlch(61.67, 79.15, 138.79°)
OKLaboklab(65.01% -0.1611 0.1182)
OKLCHoklch(65.01% 0.2 143.7)
XYZxyz(15.8523, 30.0159, 7.4403)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC2D #AC21A0
analogous
#5AAC21 #21AC2D #21AC73
triadic
#21AC2D #2D21AC #AC2D21
tetradic
#21AC2D #215AAC #AC21A0 #AC7321
square
#21AC2D #215AAC #AC21A0 #AC7321
split-complementary
#21AC2D #7321AC #AC215A
monochromatic
#0D4512 #177920 #21AC2D #32D841 #66E270

Accessibility & contrast

On white

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

On black

7.00
#21AC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AC2D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AC2D#FFFFFF#000000##000000
##21AC2D1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B15
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac2d;
/* rgb */ color: rgb(33, 172, 45);
/* oklch */ color: oklch(65.0% 0.200 143.7);
Tailwind
colors: {
  custom: {
    50: '#77c66e',
    500: '#21ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #21ac2d;
$custom-light: #77c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac2d",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 125.18,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.19982,
    "h": 143.7
  },
  "luminance": 0.30018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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