#c7f310
a balanced, electric green · cool · closest name: yellow
RGB
199, 243, 16
HSL
72°, 90%, 51%
CMYK
18, 0, 93, 5
Luminance
0.7628
Every format
| HEX | #c7f310 |
| RGB | rgb(199, 243, 16) |
| HSL | hsl(72, 90%, 51%) |
| CMYK | cmyk(18%, 0%, 93%, 5%) |
| LAB | lab(90.0 -38.4 86.1) |
| LCH | lch(90.0 94.3 114.1) |
| OKLCH | oklch(0.901 0.216 122.0) |
Copy-ready code
/* CSS */
color: #c7f310;
background-color: #c7f310;
/* Tailwind (arbitrary) */
class="text-[#c7f310] bg-[#c7f310]"
/* SCSS */
$brand: #c7f310;
/* SwiftUI */
Color(red: 0.780, green: 0.953, blue: 0.063)
/* Android */
Color.parseColor("#c7f310")Accessibility — WCAG contrast
Aa
#c7f310 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7f310 on black: 16.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green95.3%
Blue6.3%
CMYK percentages
Cyan18.1%
Magenta0.0%
Yellow93.4%
Key (black)4.7%
Color previews
#c7f310 text on a black background
contrast 16.26:1
Card sample
#c7f310 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7f310;
Background color
Panel with #c7f310 background
background-color: #c7f310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7f310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 243, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 243, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7f310; background: linear-gradient(135deg, #c7f310, #30F310);