Skip to content

#21ef1d

a balanced, electric green · cool · closest name: lime

RGB
33, 239, 29
HSL
119°, 87%, 53%
CMYK
86, 0, 88, 6
Luminance
0.6215

Every format

HEX#21ef1d
RGBrgb(33, 239, 29)
HSLhsl(119, 87%, 53%)
CMYKcmyk(86%, 0%, 88%, 6%)
LABlab(83.0 -79.9 76.2)
LCHlch(83.0 110.4 136.4)
OKLCHoklch(0.827 0.273 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#21ef1d on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#21ef1d on black: 13.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green93.7%
Blue11.4%

CMYK percentages

Cyan86.2%
Magenta0.0%
Yellow87.9%
Key (black)6.3%

Color previews

#21ef1d text on a black background

contrast 13.43:1

Card sample

#21ef1d text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 239, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 239, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21ef1d;
background: linear-gradient(135deg, #21ef1d, #1DEFA5);

Monochromatic scale

Palettes built from #21ef1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #21ef1d in the Color Lab