#dfbf30
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 191, 48
HSL
49°, 73%, 53%
CMYK
0, 14, 79, 13
Luminance
0.5316
Every format
| HEX | #dfbf30 |
| RGB | rgb(223, 191, 48) |
| HSL | hsl(49, 73%, 53%) |
| CMYK | cmyk(0%, 14%, 79%, 13%) |
| LAB | lab(78.0 -2.5 70.5) |
| LCH | lch(78.0 70.5 92.0) |
| OKLCH | oklch(0.809 0.154 95.6) |
Copy-ready code
/* CSS */
color: #dfbf30;
background-color: #dfbf30;
/* Tailwind (arbitrary) */
class="text-[#dfbf30] bg-[#dfbf30]"
/* SCSS */
$brand: #dfbf30;
/* SwiftUI */
Color(red: 0.875, green: 0.749, blue: 0.188)
/* Android */
Color.parseColor("#dfbf30")Accessibility — WCAG contrast
Aa
#dfbf30 on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbf30 on black: 11.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green74.9%
Blue18.8%
CMYK percentages
Cyan0.0%
Magenta14.3%
Yellow78.5%
Key (black)12.5%
Color previews
#dfbf30 text on a black background
contrast 11.63:1
Card sample
#dfbf30 text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbf30;
Background color
Panel with #dfbf30 background
background-color: #dfbf30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbf30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 191, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 191, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbf30; background: linear-gradient(135deg, #dfbf30, #8ADF30);