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