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