#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 |
| RGB | rgb(204, 255, 128) |
| HSL | hsl(84, 100%, 75%) |
| CMYK | cmyk(20%, 0%, 50%, 0%) |
| LAB | lab(94.3 -35.8 55.0) |
| LCH | lch(94.3 65.6 123.1) |
| OKLCH | oklch(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);