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