Skip to content

#ccff33

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

RGB
204, 255, 51
HSL
75°, 100%, 60%
CMYK
20, 0, 80, 0
Luminance
0.8460

Every format

HEX#ccff33
RGBrgb(204, 255, 51)
HSLhsl(75, 100%, 60%)
CMYKcmyk(20%, 0%, 80%, 0%)
LABlab(93.7 -41.0 83.1)
LCHlch(93.7 92.7 116.2)
OKLCHoklch(0.932 0.217 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccff33 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ccff33 on black: 17.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue20.0%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow80.0%
Key (black)0.0%

Color previews

#ccff33 text on a black background

contrast 17.92:1

Card sample

#ccff33 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff33 in the Color Lab