#21D477#21D477

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

Color values

HEX#21D477
RGBrgb(33, 212, 119)
HSLhsl(149, 73%, 48%)
HSVhsv(149, 84%, 83%)
CMYKcmyk(84.4%, 0%, 43.9%, 16.9%)
CIE-LABlab(75.29, -62.79, 34.26)
CIE-LCHlch(75.29, 71.53, 151.38°)
OKLaboklab(76.58% -0.1686 0.0845)
OKLCHoklch(76.58% 0.189 153.4)
XYZxyz(27.4978, 48.7387, 25.4074)
Luminance0.4874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21D477 #D4217E
analogous
#24D421 #21D477 #21D4D0
triadic
#21D477 #7721D4 #D47721
tetradic
#21D477 #2124D4 #D4217E #D4D021
square
#21D477 #2124D4 #D4217E #D4D021
split-complementary
#21D477 #D021D4 #D42124
monochromatic
#116A3C #199F59 #21D477 #4FE496 #84ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21D477#FFFFFF#000000##000000
##21D4771.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)
#D4C270
Deuteranopia (green-blind)
#C0B47D
Tritanopia (blue-blind)
#00D1BD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #21d477;
/* rgb */ color: rgb(33, 212, 119);
/* oklch */ color: oklch(76.6% 0.189 153.4);
Tailwind
colors: {
  custom: {
    50: '#7ee29f',
    500: '#21d477',
    950: '#000000',
  },
}
SCSS
$custom: #21d477;
$custom-light: #7ee29f;
$custom-dark: #000000;
JSON
{
  "hex": "#21d477",
  "rgb": {
    "r": 33,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 148.827,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76575,
    "c": 0.1886,
    "h": 153.4
  },
  "luminance": 0.48742
}

Semantic roles & 50–950 ramp

primary
#21D477
secondary
#D57CAA
accent
#3897F0
background
#F8FEF9
surface
#F0FCF2
border
#CBD5CC
text
#0C160E
muted
#7D847E

Preview Lab

Preview with #21D477

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

Preview Lab → · Contrast checker → · Palette generator →

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