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