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