Skip to content

#ccff24

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

RGB
204, 255, 36
HSL
74°, 100%, 57%
CMYK
20, 0, 86, 0
Luminance
0.8448

Every format

HEX#ccff24
RGBrgb(204, 255, 36)
HSLhsl(74, 100%, 57%)
CMYKcmyk(20%, 0%, 86%, 0%)
LABlab(93.7 -41.4 86.3)
LCHlch(93.7 95.8 115.6)
OKLCHoklch(0.931 0.223 123.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green100.0%
Blue14.1%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow85.9%
Key (black)0.0%

Color previews

#ccff24 text on a black background

contrast 17.90:1

Card sample

#ccff24 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff24

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff24 in the Color Lab