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