#dfbc18
a balanced, electric yellow · cool · closest name: gold
RGB
223, 188, 24
HSL
49°, 81%, 48%
CMYK
0, 16, 89, 13
Luminance
0.5172
Every format
| HEX | #dfbc18 |
| RGB | rgb(223, 188, 24) |
| HSL | hsl(49, 81%, 48%) |
| CMYK | cmyk(0%, 16%, 89%, 13%) |
| LAB | lab(77.1 -1.6 75.8) |
| LCH | lch(77.1 75.8 91.2) |
| OKLCH | oklch(0.802 0.161 95.0) |
Copy-ready code
/* CSS */
color: #dfbc18;
background-color: #dfbc18;
/* Tailwind (arbitrary) */
class="text-[#dfbc18] bg-[#dfbc18]"
/* SCSS */
$brand: #dfbc18;
/* SwiftUI */
Color(red: 0.875, green: 0.737, blue: 0.094)
/* Android */
Color.parseColor("#dfbc18")Accessibility — WCAG contrast
Aa
#dfbc18 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbc18 on black: 11.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green73.7%
Blue9.4%
CMYK percentages
Cyan0.0%
Magenta15.7%
Yellow89.2%
Key (black)12.5%
Color previews
#dfbc18 text on a black background
contrast 11.34:1
Card sample
#dfbc18 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbc18;
Background color
Panel with #dfbc18 background
background-color: #dfbc18;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbc18;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 188, 24, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 188, 24, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbc18; background: linear-gradient(135deg, #dfbc18, #7DDF18);