#fdf608
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 246, 8
HSL
58°, 98%, 51%
CMYK
0, 3, 97, 1
Luminance
0.8681
Every format
| HEX | #fdf608 |
| RGB | rgb(253, 246, 8) |
| HSL | hsl(58, 98%, 51%) |
| CMYK | cmyk(0%, 3%, 97%, 1%) |
| LAB | lab(94.7 -18.0 92.0) |
| LCH | lch(94.7 93.8 101.1) |
| OKLCH | oklch(0.948 0.203 107.6) |
Copy-ready code
/* CSS */
color: #fdf608;
background-color: #fdf608;
/* Tailwind (arbitrary) */
class="text-[#fdf608] bg-[#fdf608]"
/* SCSS */
$brand: #fdf608;
/* SwiftUI */
Color(red: 0.992, green: 0.965, blue: 0.031)
/* Android */
Color.parseColor("#fdf608")Accessibility — WCAG contrast
Aa
#fdf608 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf608 on black: 18.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green96.5%
Blue3.1%
CMYK percentages
Cyan0.0%
Magenta2.8%
Yellow96.8%
Key (black)0.8%
Color previews
#fdf608 text on a black background
contrast 18.36:1
Card sample
#fdf608 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf608;
Background color
Panel with #fdf608 background
background-color: #fdf608;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf608;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 246, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 246, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf608; background: linear-gradient(135deg, #fdf608, #61FD08);