#21AC28#21AC28

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

Color values

HEX#21AC28
RGBrgb(33, 172, 40)
HSLhsl(123, 68%, 40%)
HSVhsv(123, 81%, 67%)
CMYKcmyk(80.8%, 0%, 76.7%, 32.5%)
CIE-LABlab(61.64, -59.94, 53.88)
CIE-LCHlch(61.64, 80.60, 138.05°)
OKLaboklab(64.97% -0.1624 0.1211)
OKLCHoklch(64.97% 0.203 143.3)
XYZxyz(15.7617, 29.9797, 6.9630)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC28 #AC21A5
analogous
#5FAC21 #21AC28 #21AC6E
triadic
#21AC28 #2821AC #AC2821
tetradic
#21AC28 #215FAC #AC21A5 #AC6E21
square
#21AC28 #215FAC #AC21A5 #AC6E21
split-complementary
#21AC28 #6E21AC #AC215F
monochromatic
#0D4510 #17791C #21AC28 #32D83B #66E26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC28#FFFFFF#000000##000000
##21AC281.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)
#B09B08
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac28;
/* rgb */ color: rgb(33, 172, 40);
/* oklch */ color: oklch(65.0% 0.203 143.3);
Tailwind
colors: {
  custom: {
    50: '#77c66c',
    500: '#21ac28',
    950: '#000000',
  },
}
SCSS
$custom: #21ac28;
$custom-light: #77c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac28",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 123.022,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64969,
    "c": 0.2026,
    "h": 143.3
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#21AC28
secondary
#C762C2
accent
#3DE2EB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #21AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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