#ccff7f
a light, electric green · cool · closest name: khaki
RGB
204, 255, 127
HSL
84°, 100%, 75%
CMYK
20, 0, 50, 0
Luminance
0.8589
Every format
| HEX | #ccff7f |
| RGB | rgb(204, 255, 127) |
| HSL | hsl(84, 100%, 75%) |
| CMYK | cmyk(20%, 0%, 50%, 0%) |
| LAB | lab(94.3 -35.9 55.4) |
| LCH | lch(94.3 66.0 122.9) |
| OKLCH | oklch(0.938 0.166 127.3) |
Copy-ready code
/* CSS */
color: #ccff7f;
background-color: #ccff7f;
/* Tailwind (arbitrary) */
class="text-[#ccff7f] bg-[#ccff7f]"
/* SCSS */
$brand: #ccff7f;
/* SwiftUI */
Color(red: 0.800, green: 1.000, blue: 0.498)
/* Android */
Color.parseColor("#ccff7f")Accessibility — WCAG contrast
Aa
#ccff7f on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccff7f on black: 18.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green100.0%
Blue49.8%
CMYK percentages
Cyan20.0%
Magenta0.0%
Yellow50.2%
Key (black)0.0%
Color previews
#ccff7f text on a black background
contrast 18.18:1
Card sample
#ccff7f text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccff7f;
Background color
Panel with #ccff7f background
background-color: #ccff7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccff7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 255, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 255, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccff7f; background: linear-gradient(135deg, #ccff7f, #7FFF87);