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