#ccf080
a light, electric green · cool · closest name: khaki
RGB
204, 240, 128
HSL
79°, 79%, 72%
CMYK
15, 0, 47, 6
Luminance
0.7672
Every format
| HEX | #ccf080 |
| RGB | rgb(204, 240, 128) |
| HSL | hsl(79, 79%, 72%) |
| CMYK | cmyk(15%, 0%, 47%, 6%) |
| LAB | lab(90.2 -28.9 50.0) |
| LCH | lch(90.2 57.8 120.0) |
| OKLCH | oklch(0.905 0.145 123.9) |
Copy-ready code
/* CSS */
color: #ccf080;
background-color: #ccf080;
/* Tailwind (arbitrary) */
class="text-[#ccf080] bg-[#ccf080]"
/* SCSS */
$brand: #ccf080;
/* SwiftUI */
Color(red: 0.800, green: 0.941, blue: 0.502)
/* Android */
Color.parseColor("#ccf080")Accessibility — WCAG contrast
Aa
#ccf080 on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf080 on black: 16.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green94.1%
Blue50.2%
CMYK percentages
Cyan15.0%
Magenta0.0%
Yellow46.7%
Key (black)5.9%
Color previews
#ccf080 text on a black background
contrast 16.34:1
Card sample
#ccf080 text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf080;
Background color
Panel with #ccf080 background
background-color: #ccf080;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf080;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf080; background: linear-gradient(135deg, #ccf080, #81F080);