Skip to content

#ccfd1f

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

RGB
204, 253, 31
HSL
73°, 98%, 56%
CMYK
19, 0, 88, 1
Luminance
0.8319

Every format

HEX#ccfd1f
RGBrgb(204, 253, 31)
HSLhsl(73, 98%, 56%)
CMYKcmyk(19%, 0%, 88%, 1%)
LABlab(93.1 -40.7 86.7)
LCHlch(93.1 95.8 115.1)
OKLCHoklch(0.927 0.222 122.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green99.2%
Blue12.2%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow87.7%
Key (black)0.8%

Color previews

#ccfd1f text on a black background

contrast 17.64:1

Card sample

#ccfd1f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfd1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfd1f in the Color Lab