#dfba50
a balanced, vivid yellow · warm · closest name: khaki
RGB
223, 186, 80
HSL
45°, 69%, 59%
CMYK
0, 17, 64, 13
Luminance
0.5138
Every format
| HEX | #dfba50 |
| RGB | rgb(223, 186, 80) |
| HSL | hsl(45, 69%, 59%) |
| CMYK | cmyk(0%, 17%, 64%, 13%) |
| LAB | lab(76.9 1.6 57.1) |
| LCH | lch(76.9 57.1 88.4) |
| OKLCH | oklch(0.802 0.130 89.8) |
Copy-ready code
/* CSS */
color: #dfba50;
background-color: #dfba50;
/* Tailwind (arbitrary) */
class="text-[#dfba50] bg-[#dfba50]"
/* SCSS */
$brand: #dfba50;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.314)
/* Android */
Color.parseColor("#dfba50")Accessibility — WCAG contrast
Aa
#dfba50 on white: 1.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfba50 on black: 11.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta16.6%
Yellow64.1%
Key (black)12.5%
Color previews
#dfba50 text on a black background
contrast 11.28:1
Card sample
#dfba50 text on a white background
contrast 1.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfba50;
Background color
Panel with #dfba50 background
background-color: #dfba50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfba50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfba50; background: linear-gradient(135deg, #dfba50, #A5DF50);