#21AC27#21AC27

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

Color values

HEX#21AC27
RGBrgb(33, 172, 39)
HSLhsl(123, 68%, 40%)
HSVhsv(123, 81%, 67%)
CMYKcmyk(80.8%, 0%, 77.3%, 32.5%)
CIE-LABlab(61.63, -60.01, 54.21)
CIE-LCHlch(61.63, 80.87, 137.91°)
OKLaboklab(64.96% -0.1626 0.1217)
OKLCHoklch(64.96% 0.203 143.2)
XYZxyz(15.7449, 29.9730, 6.8746)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC27 #AC21A6
analogous
#60AC21 #21AC27 #21AC6C
triadic
#21AC27 #2721AC #AC2721
tetradic
#21AC27 #2160AC #AC21A6 #AC6C21
square
#21AC27 #2160AC #AC21A6 #AC6C21
split-complementary
#21AC27 #6C21AC #AC2160
monochromatic
#0D4510 #17791B #21AC27 #32D83A #66E26B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AC27#FFFFFF#000000##000000
##21AC271.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)
#B09B05
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21ac27;
/* rgb */ color: rgb(33, 172, 39);
/* oklch */ color: oklch(65.0% 0.203 143.2);
Tailwind
colors: {
  custom: {
    50: '#77c66b',
    500: '#21ac27',
    950: '#000000',
  },
}
SCSS
$custom: #21ac27;
$custom-light: #77c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac27",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 122.59,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64962,
    "c": 0.20312,
    "h": 143.2
  },
  "luminance": 0.29975
}

Semantic roles & 50–950 ramp

primary
#21AC27
secondary
#C762C3
accent
#3DE3EB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #21AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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