#ccf313
a balanced, electric green · cool · closest name: yellow
RGB
204, 243, 19
HSL
70°, 90%, 51%
CMYK
16, 0, 92, 5
Luminance
0.7699
Every format
| HEX | #ccf313 |
| RGB | rgb(204, 243, 19) |
| HSL | hsl(70, 90%, 51%) |
| CMYK | cmyk(16%, 0%, 92%, 5%) |
| LAB | lab(90.3 -36.4 86.2) |
| LCH | lch(90.3 93.6 112.9) |
| OKLCH | oklch(0.904 0.214 120.8) |
Copy-ready code
/* CSS */
color: #ccf313;
background-color: #ccf313;
/* Tailwind (arbitrary) */
class="text-[#ccf313] bg-[#ccf313]"
/* SCSS */
$brand: #ccf313;
/* SwiftUI */
Color(red: 0.800, green: 0.953, blue: 0.075)
/* Android */
Color.parseColor("#ccf313")Accessibility — WCAG contrast
Aa
#ccf313 on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf313 on black: 16.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green95.3%
Blue7.5%
CMYK percentages
Cyan16.0%
Magenta0.0%
Yellow92.2%
Key (black)4.7%
Color previews
#ccf313 text on a black background
contrast 16.40:1
Card sample
#ccf313 text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf313;
Background color
Panel with #ccf313 background
background-color: #ccf313;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf313;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 243, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 243, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf313; background: linear-gradient(135deg, #ccf313, #37F313);