Skip to content

#ccf608

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

RGB
204, 246, 8
HSL
71°, 94%, 50%
CMYK
17, 0, 97, 4
Luminance
0.7877

Every format

HEX#ccf608
RGBrgb(204, 246, 8)
HSLhsl(71, 94%, 50%)
CMYKcmyk(17%, 0%, 97%, 4%)
LABlab(91.1 -37.9 87.8)
LCHlch(91.1 95.6 113.3)
OKLCHoklch(0.911 0.218 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf608 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ccf608 on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green96.5%
Blue3.1%

CMYK percentages

Cyan17.1%
Magenta0.0%
Yellow96.7%
Key (black)3.5%

Color previews

#ccf608 text on a black background

contrast 16.75:1

Card sample

#ccf608 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf608 in the Color Lab