#ccf849
a balanced, electric green · cool · closest name: yellow
RGB
204, 248, 73
HSL
75°, 93%, 63%
CMYK
18, 0, 71, 3
Luminance
0.8045
Every format
| HEX | #ccf849 |
| RGB | rgb(204, 248, 73) |
| HSL | hsl(75, 93%, 63%) |
| CMYK | cmyk(18%, 0%, 71%, 3%) |
| LAB | lab(91.9 -36.9 74.9) |
| LCH | lch(91.9 83.5 116.2) |
| OKLCH | oklch(0.917 0.199 122.8) |
Copy-ready code
/* CSS */
color: #ccf849;
background-color: #ccf849;
/* Tailwind (arbitrary) */
class="text-[#ccf849] bg-[#ccf849]"
/* SCSS */
$brand: #ccf849;
/* SwiftUI */
Color(red: 0.800, green: 0.973, blue: 0.286)
/* Android */
Color.parseColor("#ccf849")Accessibility — WCAG contrast
Aa
#ccf849 on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf849 on black: 17.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green97.3%
Blue28.6%
CMYK percentages
Cyan17.7%
Magenta0.0%
Yellow70.6%
Key (black)2.7%
Color previews
#ccf849 text on a black background
contrast 17.09:1
Card sample
#ccf849 text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf849;
Background color
Panel with #ccf849 background
background-color: #ccf849;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf849;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 248, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 248, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf849; background: linear-gradient(135deg, #ccf849, #57F849);