#21D475#21D475

#21D475 is a light, vivid green. Relative luminance 0.487; OKLCH L 76.5% C 0.190 H 152.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#21D475
RGBrgb(33, 212, 117)
HSLhsl(148, 73%, 48%)
HSVhsv(148, 84%, 83%)
CMYKcmyk(84.4%, 0%, 44.8%, 16.9%)
CIE-LABlab(75.26, -63.14, 35.23)
CIE-LCHlch(75.26, 72.31, 150.84°)
OKLaboklab(76.54% -0.1695 0.0867)
OKLCHoklch(76.54% 0.19 152.9)
XYZxyz(27.3790, 48.6912, 24.7815)
Luminance0.4869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21D475 #D42180
analogous
#27D421 #21D475 #21D4CE
triadic
#21D475 #7521D4 #D47521
tetradic
#21D475 #2127D4 #D42180 #D4CE21
square
#21D475 #2127D4 #D42180 #D4CE21
split-complementary
#21D475 #CE21D4 #D42127
monochromatic
#116A3B #199F58 #21D475 #4FE495 #84ECB4

Accessibility & contrast

On white

1.96
#21D475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#21D475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21D475
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21D475#FFFFFF#000000##000000
##21D4751.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26E
Deuteranopia (green-blind)
#C1B47C
Tritanopia (blue-blind)
#00D1BD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #21d475;
/* rgb */ color: rgb(33, 212, 117);
/* oklch */ color: oklch(76.5% 0.190 152.9);
Tailwind
colors: {
  custom: {
    50: '#7ee29e',
    500: '#21d475',
    950: '#000000',
  },
}
SCSS
$custom: #21d475;
$custom-light: #7ee29e;
$custom-dark: #000000;
JSON
{
  "hex": "#21d475",
  "rgb": {
    "r": 33,
    "g": 212,
    "b": 117
  },
  "hsl": {
    "h": 148.156,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.19036,
    "h": 152.9
  },
  "luminance": 0.48695
}

Semantic roles & 50–950 ramp

primary
#21D475
secondary
#D57CAB
accent
#389AF0
background
#F8FEF9
surface
#F0FCF2
border
#CBD5CC
text
#0C160E
muted
#7D847E

Preview Lab

Preview with #21D475

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

Preview Lab → · Contrast checker → · Palette generator →

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