#21AC2A#21AC2A

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

Color values

HEX#21AC2A
RGBrgb(33, 172, 42)
HSLhsl(124, 68%, 40%)
HSVhsv(124, 81%, 67%)
CMYKcmyk(80.8%, 0%, 75.6%, 32.5%)
CIE-LABlab(61.65, -59.79, 53.20)
CIE-LCHlch(61.65, 80.03, 138.34°)
OKLaboklab(64.98% -0.1619 0.12)
OKLCHoklch(64.98% 0.202 143.5)
XYZxyz(15.7966, 29.9936, 7.1469)
Luminance0.3000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC2A #AC21A3
analogous
#5DAC21 #21AC2A #21AC70
triadic
#21AC2A #2A21AC #AC2A21
tetradic
#21AC2A #215DAC #AC21A3 #AC7021
square
#21AC2A #215DAC #AC21A3 #AC7021
split-complementary
#21AC2A #7021AC #AC215D
monochromatic
#0D4511 #17791D #21AC2A #32D83D #66E26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC2A#FFFFFF#000000##000000
##21AC2A1.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)
#B09B0E
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac2a;
/* rgb */ color: rgb(33, 172, 42);
/* oklch */ color: oklch(65.0% 0.202 143.5);
Tailwind
colors: {
  custom: {
    50: '#77c66d',
    500: '#21ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #21ac2a;
$custom-light: #77c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac2a",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 123.885,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64983,
    "c": 0.20152,
    "h": 143.5
  },
  "luminance": 0.29996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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