Skip to content

#ccff4f

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

RGB
204, 255, 79
HSL
77°, 100%, 66%
CMYK
20, 0, 69, 0
Luminance
0.8492

Every format

HEX#ccff4f
RGBrgb(204, 255, 79)
HSLhsl(77, 100%, 66%)
CMYKcmyk(20%, 0%, 69%, 0%)
LABlab(93.8 -39.7 74.7)
LCHlch(93.8 84.6 118.0)
OKLCHoklch(0.933 0.203 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green100.0%
Blue31.0%

CMYK percentages

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

Color previews

#ccff4f text on a black background

contrast 17.98:1

Card sample

#ccff4f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff4f in the Color Lab