#21AC2B#21AC2B

#21AC2B is a light, highly saturated green. Relative luminance 0.300; OKLCH L 65.0% C 0.201 H 143.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#21AC2B
RGBrgb(33, 172, 43)
HSLhsl(124, 68%, 40%)
HSVhsv(124, 81%, 67%)
CMYKcmyk(80.8%, 0%, 75%, 32.5%)
CIE-LABlab(61.66, -59.71, 52.85)
CIE-LCHlch(61.66, 79.74, 138.49°)
OKLaboklab(64.99% -0.1616 0.1194)
OKLCHoklch(64.99% 0.201 143.6)
XYZxyz(15.8147, 30.0009, 7.2423)
Luminance0.3000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC2B #AC21A2
analogous
#5CAC21 #21AC2B #21AC71
triadic
#21AC2B #2B21AC #AC2B21
tetradic
#21AC2B #215CAC #AC21A2 #AC7121
square
#21AC2B #215CAC #AC21A2 #AC7121
split-complementary
#21AC2B #7121AC #AC215C
monochromatic
#0D4511 #17791E #21AC2B #32D83E #66E26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC2B#FFFFFF#000000##000000
##21AC2B1.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)
#B09B11
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac2b;
/* rgb */ color: rgb(33, 172, 43);
/* oklch */ color: oklch(65.0% 0.201 143.6);
Tailwind
colors: {
  custom: {
    50: '#77c66d',
    500: '#21ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #21ac2b;
$custom-light: #77c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac2b",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 124.317,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6499,
    "c": 0.20096,
    "h": 143.6
  },
  "luminance": 0.30003
}

Semantic roles & 50–950 ramp

primary
#21AC2B
secondary
#C762C0
accent
#3DDEEB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #21AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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