#fdff56
a light, electric yellow · cool · closest name: yellow
RGB
253, 255, 86
HSL
61°, 100%, 67%
CMYK
1, 0, 66, 0
Luminance
0.9307
Every format
| HEX | #fdff56 |
| RGB | rgb(253, 255, 86) |
| HSL | hsl(61, 100%, 67%) |
| CMYK | cmyk(1%, 0%, 66%, 0%) |
| LAB | lab(97.3 -20.2 76.8) |
| LCH | lch(97.3 79.4 104.7) |
| OKLCH | oklch(0.969 0.183 110.0) |
Copy-ready code
/* CSS */
color: #fdff56;
background-color: #fdff56;
/* Tailwind (arbitrary) */
class="text-[#fdff56] bg-[#fdff56]"
/* SCSS */
$brand: #fdff56;
/* SwiftUI */
Color(red: 0.992, green: 1.000, blue: 0.337)
/* Android */
Color.parseColor("#fdff56")Accessibility — WCAG contrast
Aa
#fdff56 on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdff56 on black: 19.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green100.0%
Blue33.7%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow66.3%
Key (black)0.0%
Color previews
#fdff56 text on a black background
contrast 19.61:1
Card sample
#fdff56 text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdff56;
Background color
Panel with #fdff56 background
background-color: #fdff56;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdff56;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 255, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 255, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdff56; background: linear-gradient(135deg, #fdff56, #8CFF56);