#c0ff20
a balanced, electric green · cool · closest name: yellow
RGB
192, 255, 32
HSL
77°, 100%, 56%
CMYK
25, 0, 88, 0
Luminance
0.8283
Every format
| HEX | #c0ff20 |
| RGB | rgb(192, 255, 32) |
| HSL | hsl(77, 100%, 56%) |
| CMYK | cmyk(25%, 0%, 88%, 0%) |
| LAB | lab(92.9 -46.1 86.1) |
| LCH | lch(92.9 97.7 118.1) |
| OKLCH | oklch(0.924 0.229 126.0) |
Copy-ready code
/* CSS */
color: #c0ff20;
background-color: #c0ff20;
/* Tailwind (arbitrary) */
class="text-[#c0ff20] bg-[#c0ff20]"
/* SCSS */
$brand: #c0ff20;
/* SwiftUI */
Color(red: 0.753, green: 1.000, blue: 0.125)
/* Android */
Color.parseColor("#c0ff20")Accessibility — WCAG contrast
Aa
#c0ff20 on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c0ff20 on black: 17.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green100.0%
Blue12.5%
CMYK percentages
Cyan24.7%
Magenta0.0%
Yellow87.5%
Key (black)0.0%
Color previews
#c0ff20 text on a black background
contrast 17.57:1
Card sample
#c0ff20 text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0ff20;
Background color
Panel with #c0ff20 background
background-color: #c0ff20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0ff20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 255, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 255, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0ff20; background: linear-gradient(135deg, #c0ff20, #2BFF20);