#cafc21
a balanced, electric green · cool · closest name: yellow
RGB
202, 252, 33
HSL
74°, 97%, 56%
CMYK
20, 0, 87, 1
Luminance
0.8229
Every format
| HEX | #cafc21 |
| RGB | rgb(202, 252, 33) |
| HSL | hsl(74, 97%, 56%) |
| CMYK | cmyk(20%, 0%, 87%, 1%) |
| LAB | lab(92.7 -41.0 86.0) |
| LCH | lch(92.7 95.3 115.5) |
| OKLCH | oklch(0.923 0.221 123.2) |
Copy-ready code
/* CSS */
color: #cafc21;
background-color: #cafc21;
/* Tailwind (arbitrary) */
class="text-[#cafc21] bg-[#cafc21]"
/* SCSS */
$brand: #cafc21;
/* SwiftUI */
Color(red: 0.792, green: 0.988, blue: 0.129)
/* Android */
Color.parseColor("#cafc21")Accessibility — WCAG contrast
Aa
#cafc21 on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cafc21 on black: 17.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green98.8%
Blue12.9%
CMYK percentages
Cyan19.8%
Magenta0.0%
Yellow86.9%
Key (black)1.2%
Color previews
#cafc21 text on a black background
contrast 17.46:1
Card sample
#cafc21 text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cafc21;
Background color
Panel with #cafc21 background
background-color: #cafc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cafc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cafc21; background: linear-gradient(135deg, #cafc21, #38FC21);