#ccffac
a light, electric green · cool · closest name: khaki
RGB
204, 255, 172
HSL
97°, 100%, 84%
CMYK
20, 0, 33, 0
Luminance
0.8734
Every format
| HEX | #ccffac |
| RGB | rgb(204, 255, 172) |
| HSL | hsl(97, 100%, 84%) |
| CMYK | cmyk(20%, 0%, 33%, 0%) |
| LAB | lab(94.9 -30.5 34.5) |
| LCH | lch(94.9 46.1 131.4) |
| OKLCH | oklch(0.945 0.120 133.9) |
Copy-ready code
/* CSS */
color: #ccffac;
background-color: #ccffac;
/* Tailwind (arbitrary) */
class="text-[#ccffac] bg-[#ccffac]"
/* SCSS */
$brand: #ccffac;
/* SwiftUI */
Color(red: 0.800, green: 1.000, blue: 0.675)
/* Android */
Color.parseColor("#ccffac")Accessibility — WCAG contrast
Aa
#ccffac on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccffac on black: 18.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green100.0%
Blue67.5%
CMYK percentages
Cyan20.0%
Magenta0.0%
Yellow32.5%
Key (black)0.0%
Color previews
#ccffac text on a black background
contrast 18.47:1
Card sample
#ccffac text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccffac;
Background color
Panel with #ccffac background
background-color: #ccffac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccffac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 255, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 255, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccffac; background: linear-gradient(135deg, #ccffac, #ACFFC3);