#ccef1b
a balanced, electric yellow · cool · closest name: yellow
RGB
204, 239, 27
HSL
70°, 87%, 52%
CMYK
15, 0, 89, 6
Luminance
0.7465
Every format
| HEX | #ccef1b |
| RGB | rgb(204, 239, 27) |
| HSL | hsl(70, 87%, 52%) |
| CMYK | cmyk(15%, 0%, 89%, 6%) |
| LAB | lab(89.2 -34.5 84.2) |
| LCH | lch(89.2 91.0 112.3) |
| OKLCH | oklch(0.895 0.208 120.0) |
Copy-ready code
/* CSS */
color: #ccef1b;
background-color: #ccef1b;
/* Tailwind (arbitrary) */
class="text-[#ccef1b] bg-[#ccef1b]"
/* SCSS */
$brand: #ccef1b;
/* SwiftUI */
Color(red: 0.800, green: 0.937, blue: 0.106)
/* Android */
Color.parseColor("#ccef1b")Accessibility — WCAG contrast
Aa
#ccef1b on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccef1b on black: 15.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green93.7%
Blue10.6%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow88.7%
Key (black)6.3%
Color previews
#ccef1b text on a black background
contrast 15.93:1
Card sample
#ccef1b text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccef1b;
Background color
Panel with #ccef1b background
background-color: #ccef1b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccef1b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 239, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 239, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccef1b; background: linear-gradient(135deg, #ccef1b, #3FEF1B);