#ccfb13
a balanced, electric green · cool · closest name: yellow
RGB
204, 251, 19
HSL
72°, 97%, 53%
CMYK
19, 0, 92, 2
Luminance
0.8188
Every format
| HEX | #ccfb13 |
| RGB | rgb(204, 251, 19) |
| HSL | hsl(72, 97%, 53%) |
| CMYK | cmyk(19%, 0%, 92%, 2%) |
| LAB | lab(92.5 -40.0 87.9) |
| LCH | lch(92.5 96.6 114.5) |
| OKLCH | oklch(0.922 0.222 122.4) |
Copy-ready code
/* CSS */
color: #ccfb13;
background-color: #ccfb13;
/* Tailwind (arbitrary) */
class="text-[#ccfb13] bg-[#ccfb13]"
/* SCSS */
$brand: #ccfb13;
/* SwiftUI */
Color(red: 0.800, green: 0.984, blue: 0.075)
/* Android */
Color.parseColor("#ccfb13")Accessibility — WCAG contrast
Aa
#ccfb13 on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccfb13 on black: 17.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green98.4%
Blue7.5%
CMYK percentages
Cyan18.7%
Magenta0.0%
Yellow92.4%
Key (black)1.6%
Color previews
#ccfb13 text on a black background
contrast 17.38:1
Card sample
#ccfb13 text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccfb13;
Background color
Panel with #ccfb13 background
background-color: #ccfb13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccfb13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 251, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 251, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccfb13; background: linear-gradient(135deg, #ccfb13, #31FB13);