Skip to content

#ccf049

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

RGB
204, 240, 73
HSL
73°, 85%, 61%
CMYK
15, 0, 70, 6
Luminance
0.7564

Every format

HEX#ccf049
RGBrgb(204, 240, 73)
HSLhsl(73, 85%, 61%)
CMYKcmyk(15%, 0%, 70%, 6%)
LABlab(89.7 -33.3 72.7)
LCHlch(89.7 79.9 114.6)
OKLCHoklch(0.900 0.190 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf049 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#ccf049 on black: 16.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.1%
Blue28.6%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow69.6%
Key (black)5.9%

Color previews

#ccf049 text on a black background

contrast 16.13:1

Card sample

#ccf049 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf049 in the Color Lab