#ccf062
a light, electric green · cool · closest name: khaki
RGB
204, 240, 98
HSL
75°, 83%, 66%
CMYK
15, 0, 59, 6
Luminance
0.7604
Every format
| HEX | #ccf062 |
| RGB | rgb(204, 240, 98) |
| HSL | hsl(75, 83%, 66%) |
| CMYK | cmyk(15%, 0%, 59%, 6%) |
| LAB | lab(89.9 -31.6 63.2) |
| LCH | lch(89.9 70.6 116.6) |
| OKLCH | oklch(0.902 0.172 121.9) |
Copy-ready code
/* CSS */
color: #ccf062;
background-color: #ccf062;
/* Tailwind (arbitrary) */
class="text-[#ccf062] bg-[#ccf062]"
/* SCSS */
$brand: #ccf062;
/* SwiftUI */
Color(red: 0.800, green: 0.941, blue: 0.384)
/* Android */
Color.parseColor("#ccf062")Accessibility — WCAG contrast
Aa
#ccf062 on white: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf062 on black: 16.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green94.1%
Blue38.4%
CMYK percentages
Cyan15.0%
Magenta0.0%
Yellow59.2%
Key (black)5.9%
Color previews
#ccf062 text on a black background
contrast 16.21:1
Card sample
#ccf062 text on a white background
contrast 1.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf062;
Background color
Panel with #ccf062 background
background-color: #ccf062;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf062;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 240, 98, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 240, 98, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf062; background: linear-gradient(135deg, #ccf062, #6DF062);