#c2ef21
a balanced, electric green · cool · closest name: yellow
RGB
194, 239, 33
HSL
73°, 87%, 53%
CMYK
19, 0, 86, 6
Luminance
0.7331
Every format
| HEX | #c2ef21 |
| RGB | rgb(194, 239, 33) |
| HSL | hsl(73, 87%, 53%) |
| CMYK | cmyk(19%, 0%, 86%, 6%) |
| LAB | lab(88.6 -38.3 82.4) |
| LCH | lch(88.6 90.9 114.9) |
| OKLCH | oklch(0.889 0.211 122.6) |
Copy-ready code
/* CSS */
color: #c2ef21;
background-color: #c2ef21;
/* Tailwind (arbitrary) */
class="text-[#c2ef21] bg-[#c2ef21]"
/* SCSS */
$brand: #c2ef21;
/* SwiftUI */
Color(red: 0.761, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#c2ef21")Accessibility — WCAG contrast
Aa
#c2ef21 on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2ef21 on black: 15.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green93.7%
Blue12.9%
CMYK percentages
Cyan18.8%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#c2ef21 text on a black background
contrast 15.66:1
Card sample
#c2ef21 text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2ef21;
Background color
Panel with #c2ef21 background
background-color: #c2ef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2ef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ef21; background: linear-gradient(135deg, #c2ef21, #39EF21);