#ccec21
a balanced, electric yellow · cool · closest name: yellow
RGB
204, 236, 33
HSL
70°, 84%, 53%
CMYK
14, 0, 86, 8
Luminance
0.7294
Every format
| HEX | #ccec21 |
| RGB | rgb(204, 236, 33) |
| HSL | hsl(70, 84%, 53%) |
| CMYK | cmyk(14%, 0%, 86%, 8%) |
| LAB | lab(88.4 -33.0 82.5) |
| LCH | lch(88.4 88.9 111.8) |
| OKLCH | oklch(0.889 0.203 119.3) |
Copy-ready code
/* CSS */
color: #ccec21;
background-color: #ccec21;
/* Tailwind (arbitrary) */
class="text-[#ccec21] bg-[#ccec21]"
/* SCSS */
$brand: #ccec21;
/* SwiftUI */
Color(red: 0.800, green: 0.925, blue: 0.129)
/* Android */
Color.parseColor("#ccec21")Accessibility — WCAG contrast
Aa
#ccec21 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccec21 on black: 15.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green92.5%
Blue12.9%
CMYK percentages
Cyan13.6%
Magenta0.0%
Yellow86.0%
Key (black)7.5%
Color previews
#ccec21 text on a black background
contrast 15.59:1
Card sample
#ccec21 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccec21;
Background color
Panel with #ccec21 background
background-color: #ccec21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccec21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 236, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 236, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccec21; background: linear-gradient(135deg, #ccec21, #44EC21);