Skip to content

#ccff79

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

RGB
204, 255, 121
HSL
83°, 100%, 74%
CMYK
20, 0, 53, 0
Luminance
0.8574

Every format

HEX#ccff79
RGBrgb(204, 255, 121)
HSLhsl(83, 100%, 74%)
CMYKcmyk(20%, 0%, 53%, 0%)
LABlab(94.2 -36.5 58.1)
LCHlch(94.2 68.6 122.2)
OKLCHoklch(0.937 0.171 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccff79 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ccff79 on black: 18.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue47.5%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow52.5%
Key (black)0.0%

Color previews

#ccff79 text on a black background

contrast 18.15:1

Card sample

#ccff79 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff79 in the Color Lab