#cafd02
a balanced, electric green · cool · closest name: yellow
RGB
202, 253, 2
HSL
72°, 98%, 50%
CMYK
20, 0, 99, 1
Luminance
0.8281
Every format
| HEX | #cafd02 |
| RGB | rgb(202, 253, 2) |
| HSL | hsl(72, 98%, 50%) |
| CMYK | cmyk(20%, 0%, 99%, 1%) |
| LAB | lab(92.9 -41.8 89.6) |
| LCH | lch(92.9 98.8 115.0) |
| OKLCH | oklch(0.925 0.227 123.2) |
Copy-ready code
/* CSS */
color: #cafd02;
background-color: #cafd02;
/* Tailwind (arbitrary) */
class="text-[#cafd02] bg-[#cafd02]"
/* SCSS */
$brand: #cafd02;
/* SwiftUI */
Color(red: 0.792, green: 0.992, blue: 0.008)
/* Android */
Color.parseColor("#cafd02")Accessibility — WCAG contrast
Aa
#cafd02 on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cafd02 on black: 17.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green99.2%
Blue0.8%
CMYK percentages
Cyan20.2%
Magenta0.0%
Yellow99.2%
Key (black)0.8%
Color previews
#cafd02 text on a black background
contrast 17.56:1
Card sample
#cafd02 text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cafd02;
Background color
Panel with #cafd02 background
background-color: #cafd02;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cafd02;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 253, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 253, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cafd02; background: linear-gradient(135deg, #cafd02, #23FD02);