Skip to content

#ccef1e

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

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

Every format

HEX#ccef1e
RGBrgb(204, 239, 30)
HSLhsl(70, 87%, 53%)
CMYKcmyk(15%, 0%, 87%, 6%)
LABlab(89.2 -34.4 83.8)
LCHlch(89.2 90.5 112.3)
OKLCHoklch(0.895 0.207 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green93.7%
Blue11.8%

CMYK percentages

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

Color previews

#ccef1e text on a black background

contrast 15.93:1

Card sample

#ccef1e text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccef1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccef1e in the Color Lab