#fdff02
a balanced, electric yellow · cool · “yellow”
RGB
253, 255, 2
HSL
61°, 100%, 50%
CMYK
1, 0, 99, 0
Luminance
0.9241
Every format
| HEX | #fdff02 |
| RGB | rgb(253, 255, 2) |
| HSL | hsl(61, 100%, 50%) |
| CMYK | cmyk(1%, 0%, 99%, 0%) |
| LAB | lab(97.0 -22.4 94.2) |
| LCH | lch(97.0 96.8 103.4) |
| OKLCH | oklch(0.966 0.211 110.4) |
Copy-ready code
/* CSS */
color: #fdff02;
background-color: #fdff02;
/* Tailwind (arbitrary) */
class="text-[#fdff02] bg-[#fdff02]"
/* SCSS */
$brand: #fdff02;
/* SwiftUI */
Color(red: 0.992, green: 1.000, blue: 0.008)
/* Android */
Color.parseColor("#fdff02")Accessibility — WCAG contrast
Aa
#fdff02 on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdff02 on black: 19.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green100.0%
Blue0.8%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow99.2%
Key (black)0.0%
Color previews
#fdff02 text on a black background
contrast 19.48:1
Card sample
#fdff02 text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdff02;
Background color
Panel with #fdff02 background
background-color: #fdff02;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdff02;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 255, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 255, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdff02; background: linear-gradient(135deg, #fdff02, #54FF02);