#ccec49
a balanced, electric green · cool · closest name: yellow
RGB
204, 236, 73
HSL
72°, 81%, 61%
CMYK
14, 0, 69, 8
Luminance
0.7331
Every format
| HEX | #ccec49 |
| RGB | rgb(204, 236, 73) |
| HSL | hsl(72, 81%, 61%) |
| CMYK | cmyk(14%, 0%, 69%, 8%) |
| LAB | lab(88.6 -31.4 71.6) |
| LCH | lch(88.6 78.2 113.7) |
| OKLCH | oklch(0.891 0.185 120.0) |
Copy-ready code
/* CSS */
color: #ccec49;
background-color: #ccec49;
/* Tailwind (arbitrary) */
class="text-[#ccec49] bg-[#ccec49]"
/* SCSS */
$brand: #ccec49;
/* SwiftUI */
Color(red: 0.800, green: 0.925, blue: 0.286)
/* Android */
Color.parseColor("#ccec49")Accessibility — WCAG contrast
Aa
#ccec49 on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccec49 on black: 15.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green92.5%
Blue28.6%
CMYK percentages
Cyan13.6%
Magenta0.0%
Yellow69.1%
Key (black)7.5%
Color previews
#ccec49 text on a black background
contrast 15.66:1
Card sample
#ccec49 text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccec49;
Background color
Panel with #ccec49 background
background-color: #ccec49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccec49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 236, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 236, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccec49; background: linear-gradient(135deg, #ccec49, #5FEC49);