Skip to content

#ccf02c

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

RGB
204, 240, 44
HSL
71°, 87%, 56%
CMYK
15, 0, 82, 6
Luminance
0.7534

Every format

HEX#ccf02c
RGBrgb(204, 240, 44)
HSLhsl(71, 87%, 56%)
CMYKcmyk(15%, 0%, 82%, 6%)
LABlab(89.5 -34.5 81.2)
LCHlch(89.5 88.2 113.0)
OKLCHoklch(0.898 0.204 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf02c on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#ccf02c on black: 16.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.1%
Blue17.3%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow81.7%
Key (black)5.9%

Color previews

#ccf02c text on a black background

contrast 16.07:1

Card sample

#ccf02c text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf02c in the Color Lab