#dfbc39
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 188, 57
HSL
47°, 72%, 55%
CMYK
0, 16, 74, 13
Luminance
0.5195
Every format
| HEX | #dfbc39 |
| RGB | rgb(223, 188, 57) |
| HSL | hsl(47, 72%, 55%) |
| CMYK | cmyk(0%, 16%, 74%, 13%) |
| LAB | lab(77.3 -0.6 66.8) |
| LCH | lch(77.3 66.8 90.5) |
| OKLCH | oklch(0.804 0.147 93.4) |
Copy-ready code
/* CSS */
color: #dfbc39;
background-color: #dfbc39;
/* Tailwind (arbitrary) */
class="text-[#dfbc39] bg-[#dfbc39]"
/* SCSS */
$brand: #dfbc39;
/* SwiftUI */
Color(red: 0.875, green: 0.737, blue: 0.224)
/* Android */
Color.parseColor("#dfbc39")Accessibility — WCAG contrast
Aa
#dfbc39 on white: 1.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbc39 on black: 11.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green73.7%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta15.7%
Yellow74.4%
Key (black)12.5%
Color previews
#dfbc39 text on a black background
contrast 11.39:1
Card sample
#dfbc39 text on a white background
contrast 1.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbc39;
Background color
Panel with #dfbc39 background
background-color: #dfbc39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbc39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 188, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 188, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbc39; background: linear-gradient(135deg, #dfbc39, #93DF39);