Skip to content

#ccff80

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

RGB
204, 255, 128
HSL
84°, 100%, 75%
CMYK
20, 0, 50, 0
Luminance
0.8592

Every format

HEX#ccff80
RGBrgb(204, 255, 128)
HSLhsl(84, 100%, 75%)
CMYKcmyk(20%, 0%, 50%, 0%)
LABlab(94.3 -35.8 55.0)
LCHlch(94.3 65.6 123.1)
OKLCHoklch(0.938 0.165 127.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccff80 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ccff80 on black: 18.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue50.2%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow49.8%
Key (black)0.0%

Color previews

#ccff80 text on a black background

contrast 18.18:1

Card sample

#ccff80 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff80 in the Color Lab