#fdbf21
a balanced, electric yellow · warm · closest name: orange
RGB
253, 191, 33
HSL
43°, 98%, 56%
CMYK
0, 25, 87, 1
Luminance
0.5825
Every format
| HEX | #fdbf21 |
| RGB | rgb(253, 191, 33) |
| HSL | hsl(43, 98%, 56%) |
| CMYK | cmyk(0%, 25%, 87%, 1%) |
| LAB | lab(80.9 9.9 78.2) |
| LCH | lch(80.9 78.8 82.8) |
| OKLCH | oklch(0.839 0.166 83.8) |
Copy-ready code
/* CSS */
color: #fdbf21;
background-color: #fdbf21;
/* Tailwind (arbitrary) */
class="text-[#fdbf21] bg-[#fdbf21]"
/* SCSS */
$brand: #fdbf21;
/* SwiftUI */
Color(red: 0.992, green: 0.749, blue: 0.129)
/* Android */
Color.parseColor("#fdbf21")Accessibility — WCAG contrast
Aa
#fdbf21 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdbf21 on black: 12.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green74.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta24.5%
Yellow87.0%
Key (black)0.8%
Color previews
#fdbf21 text on a black background
contrast 12.65:1
Card sample
#fdbf21 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdbf21;
Background color
Panel with #fdbf21 background
background-color: #fdbf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdbf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 191, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 191, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdbf21; background: linear-gradient(135deg, #fdbf21, #A8FD21);