#c7eb31
a balanced, electric green · cool · closest name: yellow
RGB
199, 235, 49
HSL
72°, 82%, 56%
CMYK
15, 0, 79, 8
Luminance
0.7178
Every format
| HEX | #c7eb31 |
| RGB | rgb(199, 235, 49) |
| HSL | hsl(72, 82%, 56%) |
| CMYK | cmyk(15%, 0%, 79%, 8%) |
| LAB | lab(87.9 -34.0 78.3) |
| LCH | lch(87.9 85.4 113.5) |
| OKLCH | oklch(0.884 0.199 120.7) |
Copy-ready code
/* CSS */
color: #c7eb31;
background-color: #c7eb31;
/* Tailwind (arbitrary) */
class="text-[#c7eb31] bg-[#c7eb31]"
/* SCSS */
$brand: #c7eb31;
/* SwiftUI */
Color(red: 0.780, green: 0.922, blue: 0.192)
/* Android */
Color.parseColor("#c7eb31")Accessibility — WCAG contrast
Aa
#c7eb31 on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7eb31 on black: 15.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green92.2%
Blue19.2%
CMYK percentages
Cyan15.3%
Magenta0.0%
Yellow79.1%
Key (black)7.8%
Color previews
#c7eb31 text on a black background
contrast 15.36:1
Card sample
#c7eb31 text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7eb31;
Background color
Panel with #c7eb31 background
background-color: #c7eb31;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7eb31;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 235, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 235, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7eb31; background: linear-gradient(135deg, #c7eb31, #4BEB31);