#dfba20
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 186, 32
HSL
48°, 75%, 50%
CMYK
0, 17, 86, 13
Luminance
0.5091
Every format
| HEX | #dfba20 |
| RGB | rgb(223, 186, 32) |
| HSL | hsl(48, 75%, 50%) |
| CMYK | cmyk(0%, 17%, 86%, 13%) |
| LAB | lab(76.6 -0.4 73.7) |
| LCH | lch(76.6 73.7 90.3) |
| OKLCH | oklch(0.798 0.157 93.7) |
Copy-ready code
/* CSS */
color: #dfba20;
background-color: #dfba20;
/* Tailwind (arbitrary) */
class="text-[#dfba20] bg-[#dfba20]"
/* SCSS */
$brand: #dfba20;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.125)
/* Android */
Color.parseColor("#dfba20")Accessibility — WCAG contrast
Aa
#dfba20 on white: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfba20 on black: 11.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue12.5%
CMYK percentages
Cyan0.0%
Magenta16.6%
Yellow85.7%
Key (black)12.5%
Color previews
#dfba20 text on a black background
contrast 11.18:1
Card sample
#dfba20 text on a white background
contrast 1.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfba20;
Background color
Panel with #dfba20 background
background-color: #dfba20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfba20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfba20; background: linear-gradient(135deg, #dfba20, #85DF20);