Skip to content

#21df80

a balanced, vivid green · cool · closest name: forestgreen

RGB
33, 223, 128
HSL
150°, 75%, 50%
CMYK
85, 0, 43, 13
Luminance
0.5466

Every format

HEX#21df80
RGBrgb(33, 223, 128)
HSLhsl(150, 75%, 50%)
CMYKcmyk(85%, 0%, 43%, 13%)
LABlab(78.8 -65.0 34.3)
LCHlch(78.8 73.5 152.1)
OKLCHoklch(0.796 0.194 154.0)

Copy-ready code

/* CSS */
color: #21df80;
background-color: #21df80;
/* Tailwind (arbitrary) */
class="text-[#21df80] bg-[#21df80]"
/* SCSS */
$brand: #21df80;
/* SwiftUI */
Color(red: 0.129, green: 0.875, blue: 0.502)
/* Android */
Color.parseColor("#21df80")

Accessibility — WCAG contrast

Aa
#21df80 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#21df80 on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green87.5%
Blue50.2%

CMYK percentages

Cyan85.2%
Magenta0.0%
Yellow42.6%
Key (black)12.5%

Color previews

#21df80 text on a black background

contrast 11.93:1

Card sample

#21df80 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #21df80;
Background color
Panel with #21df80 background
background-color: #21df80;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #21df80;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(33, 223, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 223, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21df80;
background: linear-gradient(135deg, #21df80, #21BFDF);

Monochromatic scale

Palettes built from #21df80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #21df80 in the Color Lab