Skip to content

#cdfc21

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

RGB
205, 252, 33
HSL
73°, 97%, 56%
CMYK
19, 0, 87, 1
Luminance
0.8271

Every format

HEX#cdfc21
RGBrgb(205, 252, 33)
HSLhsl(73, 97%, 56%)
CMYKcmyk(19%, 0%, 87%, 1%)
LABlab(92.9 -39.8 86.3)
LCHlch(92.9 95.0 114.8)
OKLCHoklch(0.925 0.220 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfc21 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cdfc21 on black: 17.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.8%
Blue12.9%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow86.9%
Key (black)1.2%

Color previews

#cdfc21 text on a black background

contrast 17.54:1

Card sample

#cdfc21 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfc21;
background: linear-gradient(135deg, #cdfc21, #3BFC21);

Monochromatic scale

Palettes built from #cdfc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfc21 in the Color Lab