#c6eb0c
a balanced, electric green · cool · closest name: yellow
RGB
198, 235, 12
HSL
70°, 90%, 48%
CMYK
16, 0, 95, 8
Luminance
0.7145
Every format
| HEX | #c6eb0c |
| RGB | rgb(198, 235, 12) |
| HSL | hsl(70, 90%, 48%) |
| CMYK | cmyk(16%, 0%, 95%, 8%) |
| LAB | lab(87.7 -35.3 84.7) |
| LCH | lch(87.7 91.7 112.6) |
| OKLCH | oklch(0.882 0.209 120.6) |
Copy-ready code
/* CSS */
color: #c6eb0c;
background-color: #c6eb0c;
/* Tailwind (arbitrary) */
class="text-[#c6eb0c] bg-[#c6eb0c]"
/* SCSS */
$brand: #c6eb0c;
/* SwiftUI */
Color(red: 0.776, green: 0.922, blue: 0.047)
/* Android */
Color.parseColor("#c6eb0c")Accessibility — WCAG contrast
Aa
#c6eb0c on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c6eb0c on black: 15.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.6%
Green92.2%
Blue4.7%
CMYK percentages
Cyan15.7%
Magenta0.0%
Yellow94.9%
Key (black)7.8%
Color previews
#c6eb0c text on a black background
contrast 15.29:1
Card sample
#c6eb0c text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c6eb0c;
Background color
Panel with #c6eb0c background
background-color: #c6eb0c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c6eb0c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(198, 235, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 235, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c6eb0c; background: linear-gradient(135deg, #c6eb0c, #31EB0C);