#dfbf39
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 191, 57
HSL
48°, 72%, 55%
CMYK
0, 14, 74, 13
Luminance
0.5324
Every format
| HEX | #dfbf39 |
| RGB | rgb(223, 191, 57) |
| HSL | hsl(48, 72%, 55%) |
| CMYK | cmyk(0%, 14%, 74%, 13%) |
| LAB | lab(78.0 -2.2 67.5) |
| LCH | lch(78.0 67.5 91.8) |
| OKLCH | oklch(0.810 0.149 95.0) |
Copy-ready code
/* CSS */
color: #dfbf39;
background-color: #dfbf39;
/* Tailwind (arbitrary) */
class="text-[#dfbf39] bg-[#dfbf39]"
/* SCSS */
$brand: #dfbf39;
/* SwiftUI */
Color(red: 0.875, green: 0.749, blue: 0.224)
/* Android */
Color.parseColor("#dfbf39")Accessibility — WCAG contrast
Aa
#dfbf39 on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbf39 on black: 11.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green74.9%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta14.3%
Yellow74.4%
Key (black)12.5%
Color previews
#dfbf39 text on a black background
contrast 11.65:1
Card sample
#dfbf39 text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbf39;
Background color
Panel with #dfbf39 background
background-color: #dfbf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 191, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 191, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbf39; background: linear-gradient(135deg, #dfbf39, #90DF39);