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