#c9ff21
a balanced, electric green · cool · closest name: yellow
RGB
201, 255, 33
HSL
75°, 100%, 57%
CMYK
21, 0, 87, 0
Luminance
0.8405
Every format
| HEX | #c9ff21 |
| RGB | rgb(201, 255, 33) |
| HSL | hsl(75, 100%, 57%) |
| CMYK | cmyk(21%, 0%, 87%, 0%) |
| LAB | lab(93.5 -42.6 86.6) |
| LCH | lch(93.5 96.5 116.2) |
| OKLCH | oklch(0.929 0.225 124.0) |
Copy-ready code
/* CSS */
color: #c9ff21;
background-color: #c9ff21;
/* Tailwind (arbitrary) */
class="text-[#c9ff21] bg-[#c9ff21]"
/* SCSS */
$brand: #c9ff21;
/* SwiftUI */
Color(red: 0.788, green: 1.000, blue: 0.129)
/* Android */
Color.parseColor("#c9ff21")Accessibility — WCAG contrast
Aa
#c9ff21 on white: 1.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c9ff21 on black: 17.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green100.0%
Blue12.9%
CMYK percentages
Cyan21.2%
Magenta0.0%
Yellow87.1%
Key (black)0.0%
Color previews
#c9ff21 text on a black background
contrast 17.81:1
Card sample
#c9ff21 text on a white background
contrast 1.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c9ff21;
Background color
Panel with #c9ff21 background
background-color: #c9ff21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c9ff21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 255, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 255, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9ff21; background: linear-gradient(135deg, #c9ff21, #35FF21);