Skip to content

#ccfd2e

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

RGB
204, 253, 46
HSL
74°, 98%, 59%
CMYK
19, 0, 82, 1
Luminance
0.8329

Every format

HEX#ccfd2e
RGBrgb(204, 253, 46)
HSLhsl(74, 98%, 59%)
CMYKcmyk(19%, 0%, 82%, 1%)
LABlab(93.1 -40.3 83.8)
LCHlch(93.1 93.0 115.7)
OKLCHoklch(0.927 0.217 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green99.2%
Blue18.0%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow81.8%
Key (black)0.8%

Color previews

#ccfd2e text on a black background

contrast 17.66:1

Card sample

#ccfd2e text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfd2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfd2e in the Color Lab