#ccf072
a light, electric green · cool · closest name: khaki
RGB
204, 240, 114
HSL
77°, 81%, 69%
CMYK
15, 0, 53, 6
Luminance
0.7637
Every format
| HEX | #ccf072 |
| RGB | rgb(204, 240, 114) |
| HSL | hsl(77, 81%, 69%) |
| CMYK | cmyk(15%, 0%, 53%, 6%) |
| LAB | lab(90.0 -30.3 56.3) |
| LCH | lch(90.0 63.9 118.3) |
| OKLCH | oklch(0.904 0.158 122.8) |
Copy-ready code
/* CSS */
color: #ccf072;
background-color: #ccf072;
/* Tailwind (arbitrary) */
class="text-[#ccf072] bg-[#ccf072]"
/* SCSS */
$brand: #ccf072;
/* SwiftUI */
Color(red: 0.800, green: 0.941, blue: 0.447)
/* Android */
Color.parseColor("#ccf072")Accessibility — WCAG contrast
Aa
#ccf072 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf072 on black: 16.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green94.1%
Blue44.7%
CMYK percentages
Cyan15.0%
Magenta0.0%
Yellow52.5%
Key (black)5.9%
Color previews
#ccf072 text on a black background
contrast 16.27:1
Card sample
#ccf072 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf072;
Background color
Panel with #ccf072 background
background-color: #ccf072;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf072;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 240, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 240, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf072; background: linear-gradient(135deg, #ccf072, #78F072);