Skip to content

#ccef1d

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

RGB
204, 239, 29
HSL
70°, 87%, 53%
CMYK
15, 0, 88, 6
Luminance
0.7466

Every format

HEX#ccef1d
RGBrgb(204, 239, 29)
HSLhsl(70, 87%, 53%)
CMYKcmyk(15%, 0%, 88%, 6%)
LABlab(89.2 -34.5 83.9)
LCHlch(89.2 90.7 112.3)
OKLCHoklch(0.895 0.208 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccef1d on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#ccef1d on black: 15.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green93.7%
Blue11.4%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow87.9%
Key (black)6.3%

Color previews

#ccef1d text on a black background

contrast 15.93:1

Card sample

#ccef1d text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccef1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccef1d in the Color Lab