#21D478#21D478

#21D478 is a light, vivid green. Relative luminance 0.488; OKLCH L 76.6% C 0.188 H 153.6°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#21D478
RGBrgb(33, 212, 120)
HSLhsl(149, 73%, 48%)
HSVhsv(149, 84%, 83%)
CMYKcmyk(84.4%, 0%, 43.4%, 16.9%)
CIE-LABlab(75.30, -62.62, 33.78)
CIE-LCHlch(75.30, 71.15, 151.66°)
OKLaboklab(76.59% -0.1682 0.0834)
OKLCHoklch(76.59% 0.188 153.6)
XYZxyz(27.5582, 48.7629, 25.7254)
Luminance0.4877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21D478 #D4217D
analogous
#24D421 #21D478 #21D4D1
triadic
#21D478 #7821D4 #D47821
tetradic
#21D478 #2124D4 #D4217D #D4D121
square
#21D478 #2124D4 #D4217D #D4D121
split-complementary
#21D478 #D121D4 #D42124
monochromatic
#116A3C #199F5A #21D478 #4FE497 #84ECB6

Accessibility & contrast

On white

1.95
#21D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#21D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21D478
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21D478#FFFFFF#000000##000000
##21D4781.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C271
Deuteranopia (green-blind)
#C0B47E
Tritanopia (blue-blind)
#00D1BE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #21d478;
/* rgb */ color: rgb(33, 212, 120);
/* oklch */ color: oklch(76.6% 0.188 153.6);
Tailwind
colors: {
  custom: {
    50: '#7ee2a0',
    500: '#21d478',
    950: '#000000',
  },
}
SCSS
$custom: #21d478;
$custom-light: #7ee2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21d478",
  "rgb": {
    "r": 33,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 149.162,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76593,
    "c": 0.18771,
    "h": 153.6
  },
  "luminance": 0.48766
}

Semantic roles & 50–950 ramp

primary
#21D478
secondary
#D57CAA
accent
#3896F0
background
#F8FEF9
surface
#F0FCF2
border
#CBD5CC
text
#0C160F
muted
#7D847E

Preview Lab

Preview with #21D478

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

Preview Lab → · Contrast checker → · Palette generator →

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