#dfba30
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 186, 48
HSL
47°, 73%, 53%
CMYK
0, 17, 79, 13
Luminance
0.5102
Every format
| HEX | #dfba30 |
| RGB | rgb(223, 186, 48) |
| HSL | hsl(47, 73%, 53%) |
| CMYK | cmyk(0%, 17%, 79%, 13%) |
| LAB | lab(76.7 0.1 69.3) |
| LCH | lch(76.7 69.3 89.9) |
| OKLCH | oklch(0.799 0.151 92.9) |
Copy-ready code
/* CSS */
color: #dfba30;
background-color: #dfba30;
/* Tailwind (arbitrary) */
class="text-[#dfba30] bg-[#dfba30]"
/* SCSS */
$brand: #dfba30;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.188)
/* Android */
Color.parseColor("#dfba30")Accessibility — WCAG contrast
Aa
#dfba30 on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfba30 on black: 11.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue18.8%
CMYK percentages
Cyan0.0%
Magenta16.6%
Yellow78.5%
Key (black)12.5%
Color previews
#dfba30 text on a black background
contrast 11.20:1
Card sample
#dfba30 text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfba30;
Background color
Panel with #dfba30 background
background-color: #dfba30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfba30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfba30; background: linear-gradient(135deg, #dfba30, #8FDF30);