#c7eb28
a balanced, electric green · cool · closest name: yellow
RGB
199, 235, 40
HSL
71°, 83%, 54%
CMYK
15, 0, 83, 8
Luminance
0.7171
Every format
| HEX | #c7eb28 |
| RGB | rgb(199, 235, 40) |
| HSL | hsl(71, 83%, 54%) |
| CMYK | cmyk(15%, 0%, 83%, 8%) |
| LAB | lab(87.8 -34.3 80.5) |
| LCH | lch(87.8 87.5 113.1) |
| OKLCH | oklch(0.883 0.202 120.5) |
Copy-ready code
/* CSS */
color: #c7eb28;
background-color: #c7eb28;
/* Tailwind (arbitrary) */
class="text-[#c7eb28] bg-[#c7eb28]"
/* SCSS */
$brand: #c7eb28;
/* SwiftUI */
Color(red: 0.780, green: 0.922, blue: 0.157)
/* Android */
Color.parseColor("#c7eb28")Accessibility — WCAG contrast
Aa
#c7eb28 on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7eb28 on black: 15.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green92.2%
Blue15.7%
CMYK percentages
Cyan15.3%
Magenta0.0%
Yellow83.0%
Key (black)7.8%
Color previews
#c7eb28 text on a black background
contrast 15.34:1
Card sample
#c7eb28 text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7eb28;
Background color
Panel with #c7eb28 background
background-color: #c7eb28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7eb28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 235, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 235, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7eb28; background: linear-gradient(135deg, #c7eb28, #45EB28);