Skip to content

#ccf80c

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

RGB
204, 248, 12
HSL
71°, 94%, 51%
CMYK
18, 0, 95, 3
Luminance
0.8000

Every format

HEX#ccf80c
RGBrgb(204, 248, 12)
HSLhsl(71, 94%, 51%)
CMYKcmyk(18%, 0%, 95%, 3%)
LABlab(91.7 -38.8 87.9)
LCHlch(91.7 96.1 113.8)
OKLCHoklch(0.915 0.220 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf80c on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ccf80c on black: 17.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green97.3%
Blue4.7%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow95.2%
Key (black)2.7%

Color previews

#ccf80c text on a black background

contrast 17.00:1

Card sample

#ccf80c text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 248, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 248, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf80c;
background: linear-gradient(135deg, #ccf80c, #2FF80C);

Monochromatic scale

Palettes built from #ccf80c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf80c in the Color Lab