Skip to content

#ccf52c

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

RGB
204, 245, 44
HSL
72°, 91%, 57%
CMYK
17, 0, 82, 4
Luminance
0.7832

Every format

HEX#ccf52c
RGBrgb(204, 245, 44)
HSLhsl(72, 91%, 57%)
CMYKcmyk(17%, 0%, 82%, 4%)
LABlab(90.9 -36.8 82.4)
LCHlch(90.9 90.2 114.1)
OKLCHoklch(0.909 0.209 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf52c on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ccf52c on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green96.1%
Blue17.3%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow82.0%
Key (black)3.9%

Color previews

#ccf52c text on a black background

contrast 16.66:1

Card sample

#ccf52c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 245, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 245, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf52c;
background: linear-gradient(135deg, #ccf52c, #46F52C);

Monochromatic scale

Palettes built from #ccf52c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf52c in the Color Lab