#fdbf06
a balanced, electric yellow · warm · closest name: gold
RGB
253, 191, 6
HSL
45°, 98%, 51%
CMYK
0, 25, 98, 1
Luminance
0.5816
Every format
| HEX | #fdbf06 |
| RGB | rgb(253, 191, 6) |
| HSL | hsl(45, 98%, 51%) |
| CMYK | cmyk(0%, 25%, 98%, 1%) |
| LAB | lab(80.8 9.6 82.2) |
| LCH | lch(80.8 82.8 83.4) |
| OKLCH | oklch(0.838 0.171 84.7) |
Copy-ready code
/* CSS */
color: #fdbf06;
background-color: #fdbf06;
/* Tailwind (arbitrary) */
class="text-[#fdbf06] bg-[#fdbf06]"
/* SCSS */
$brand: #fdbf06;
/* SwiftUI */
Color(red: 0.992, green: 0.749, blue: 0.024)
/* Android */
Color.parseColor("#fdbf06")Accessibility — WCAG contrast
Aa
#fdbf06 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdbf06 on black: 12.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green74.9%
Blue2.4%
CMYK percentages
Cyan0.0%
Magenta24.5%
Yellow97.6%
Key (black)0.8%
Color previews
#fdbf06 text on a black background
contrast 12.63:1
Card sample
#fdbf06 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdbf06;
Background color
Panel with #fdbf06 background
background-color: #fdbf06;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdbf06;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 191, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 191, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdbf06; background: linear-gradient(135deg, #fdbf06, #97FD06);