Skip to content

#ccfd21

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

RGB
204, 253, 33
HSL
73°, 98%, 56%
CMYK
19, 0, 87, 1
Luminance
0.8320

Every format

HEX#ccfd21
RGBrgb(204, 253, 33)
HSLhsl(73, 98%, 56%)
CMYKcmyk(19%, 0%, 87%, 1%)
LABlab(93.1 -40.6 86.4)
LCHlch(93.1 95.5 115.2)
OKLCHoklch(0.927 0.221 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccfd21 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ccfd21 on black: 17.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green99.2%
Blue12.9%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow87.0%
Key (black)0.8%

Color previews

#ccfd21 text on a black background

contrast 17.64:1

Card sample

#ccfd21 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 253, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 253, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccfd21;
background: linear-gradient(135deg, #ccfd21, #39FD21);

Monochromatic scale

Palettes built from #ccfd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfd21 in the Color Lab