#c2f151
a balanced, electric green · cool · closest name: yellow
RGB
194, 241, 81
HSL
78°, 85%, 63%
CMYK
20, 0, 66, 6
Luminance
0.7497
Every format
| HEX | #c2f151 |
| RGB | rgb(194, 241, 81) |
| HSL | hsl(78, 85%, 63%) |
| CMYK | cmyk(20%, 0%, 66%, 6%) |
| LAB | lab(89.4 -37.1 69.3) |
| LCH | lch(89.4 78.6 118.2) |
| OKLCH | oklch(0.896 0.190 124.3) |
Copy-ready code
/* CSS */
color: #c2f151;
background-color: #c2f151;
/* Tailwind (arbitrary) */
class="text-[#c2f151] bg-[#c2f151]"
/* SCSS */
$brand: #c2f151;
/* SwiftUI */
Color(red: 0.761, green: 0.945, blue: 0.318)
/* Android */
Color.parseColor("#c2f151")Accessibility — WCAG contrast
Aa
#c2f151 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2f151 on black: 15.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green94.5%
Blue31.8%
CMYK percentages
Cyan19.5%
Magenta0.0%
Yellow66.4%
Key (black)5.5%
Color previews
#c2f151 text on a black background
contrast 15.99:1
Card sample
#c2f151 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2f151;
Background color
Panel with #c2f151 background
background-color: #c2f151;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2f151;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2f151; background: linear-gradient(135deg, #c2f151, #57F151);