Skip to content

#ccfd28

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

RGB
204, 253, 40
HSL
74°, 98%, 58%
CMYK
19, 0, 84, 1
Luminance
0.8324

Every format

HEX#ccfd28
RGBrgb(204, 253, 40)
HSLhsl(74, 98%, 58%)
CMYKcmyk(19%, 0%, 84%, 1%)
LABlab(93.1 -40.5 85.1)
LCHlch(93.1 94.2 115.4)
OKLCHoklch(0.927 0.219 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green99.2%
Blue15.7%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow84.2%
Key (black)0.8%

Color previews

#ccfd28 text on a black background

contrast 17.65:1

Card sample

#ccfd28 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfd28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfd28 in the Color Lab