Skip to content

#ccff1d

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

RGB
204, 255, 29
HSL
74°, 100%, 56%
CMYK
20, 0, 89, 0
Luminance
0.8445

Every format

HEX#ccff1d
RGBrgb(204, 255, 29)
HSLhsl(74, 100%, 56%)
CMYKcmyk(20%, 0%, 89%, 0%)
LABlab(93.6 -41.6 87.5)
LCHlch(93.6 96.9 115.4)
OKLCHoklch(0.931 0.224 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccff1d on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ccff1d on black: 17.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue11.4%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow88.6%
Key (black)0.0%

Color previews

#ccff1d text on a black background

contrast 17.89:1

Card sample

#ccff1d text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff1d in the Color Lab