#dfbc50
a balanced, vivid yellow · cool · closest name: khaki
RGB
223, 188, 80
HSL
45°, 69%, 59%
CMYK
0, 16, 64, 13
Luminance
0.5223
Every format
| HEX | #dfbc50 |
| RGB | rgb(223, 188, 80) |
| HSL | hsl(45, 69%, 59%) |
| CMYK | cmyk(0%, 16%, 64%, 13%) |
| LAB | lab(77.4 0.6 57.7) |
| LCH | lch(77.4 57.7 89.4) |
| OKLCH | oklch(0.806 0.132 91.1) |
Copy-ready code
/* CSS */
color: #dfbc50;
background-color: #dfbc50;
/* Tailwind (arbitrary) */
class="text-[#dfbc50] bg-[#dfbc50]"
/* SCSS */
$brand: #dfbc50;
/* SwiftUI */
Color(red: 0.875, green: 0.737, blue: 0.314)
/* Android */
Color.parseColor("#dfbc50")Accessibility — WCAG contrast
Aa
#dfbc50 on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbc50 on black: 11.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green73.7%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta15.7%
Yellow64.1%
Key (black)12.5%
Color previews
#dfbc50 text on a black background
contrast 11.45:1
Card sample
#dfbc50 text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbc50;
Background color
Panel with #dfbc50 background
background-color: #dfbc50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbc50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 188, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 188, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbc50; background: linear-gradient(135deg, #dfbc50, #A3DF50);