Skip to content

#ccfd2a

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

RGB
204, 253, 42
HSL
74°, 98%, 58%
CMYK
19, 0, 83, 1
Luminance
0.8326

Every format

HEX#ccfd2a
RGBrgb(204, 253, 42)
HSLhsl(74, 98%, 58%)
CMYKcmyk(19%, 0%, 83%, 1%)
LABlab(93.1 -40.4 84.7)
LCHlch(93.1 93.8 115.5)
OKLCHoklch(0.927 0.219 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green99.2%
Blue16.5%

CMYK percentages

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

Color previews

#ccfd2a text on a black background

contrast 17.65:1

Card sample

#ccfd2a text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfd2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfd2a in the Color Lab