#dfb80c
a balanced, electric yellow · cool · closest name: gold
RGB
223, 184, 12
HSL
49°, 90%, 46%
CMYK
0, 18, 95, 13
Luminance
0.5000
Every format
| HEX | #dfb80c |
| RGB | rgb(223, 184, 12) |
| HSL | hsl(49, 90%, 46%) |
| CMYK | cmyk(0%, 18%, 95%, 13%) |
| LAB | lab(76.1 0.3 76.8) |
| LCH | lch(76.1 76.8 89.8) |
| OKLCH | oklch(0.794 0.161 93.3) |
Copy-ready code
/* CSS */
color: #dfb80c;
background-color: #dfb80c;
/* Tailwind (arbitrary) */
class="text-[#dfb80c] bg-[#dfb80c]"
/* SCSS */
$brand: #dfb80c;
/* SwiftUI */
Color(red: 0.875, green: 0.722, blue: 0.047)
/* Android */
Color.parseColor("#dfb80c")Accessibility — WCAG contrast
Aa
#dfb80c on white: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfb80c on black: 11.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.2%
Blue4.7%
CMYK percentages
Cyan0.0%
Magenta17.5%
Yellow94.6%
Key (black)12.5%
Color previews
#dfb80c text on a black background
contrast 11.00:1
Card sample
#dfb80c text on a white background
contrast 1.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfb80c;
Background color
Panel with #dfb80c background
background-color: #dfb80c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfb80c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 184, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 184, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb80c; background: linear-gradient(135deg, #dfb80c, #79DF0C);