#dfbc34
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 188, 52
HSL
48°, 73%, 54%
CMYK
0, 16, 77, 13
Luminance
0.5190
Every format
| HEX | #dfbc34 |
| RGB | rgb(223, 188, 52) |
| HSL | hsl(48, 73%, 54%) |
| CMYK | cmyk(0%, 16%, 77%, 13%) |
| LAB | lab(77.2 -0.8 68.5) |
| LCH | lch(77.2 68.5 90.7) |
| OKLCH | oklch(0.803 0.150 93.7) |
Copy-ready code
/* CSS */
color: #dfbc34;
background-color: #dfbc34;
/* Tailwind (arbitrary) */
class="text-[#dfbc34] bg-[#dfbc34]"
/* SCSS */
$brand: #dfbc34;
/* SwiftUI */
Color(red: 0.875, green: 0.737, blue: 0.204)
/* Android */
Color.parseColor("#dfbc34")Accessibility — WCAG contrast
Aa
#dfbc34 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbc34 on black: 11.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green73.7%
Blue20.4%
CMYK percentages
Cyan0.0%
Magenta15.7%
Yellow76.7%
Key (black)12.5%
Color previews
#dfbc34 text on a black background
contrast 11.38:1
Card sample
#dfbc34 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbc34;
Background color
Panel with #dfbc34 background
background-color: #dfbc34;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbc34;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 188, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 188, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbc34; background: linear-gradient(135deg, #dfbc34, #90DF34);