#dfb74c
a balanced, vivid yellow · warm · closest name: khaki
RGB
223, 183, 76
HSL
44°, 70%, 59%
CMYK
0, 18, 66, 13
Luminance
0.5008
Every format
| HEX | #dfb74c |
| RGB | rgb(223, 183, 76) |
| HSL | hsl(44, 70%, 59%) |
| CMYK | cmyk(0%, 18%, 66%, 13%) |
| LAB | lab(76.1 3.0 58.0) |
| LCH | lch(76.1 58.1 87.1) |
| OKLCH | oklch(0.795 0.132 88.4) |
Copy-ready code
/* CSS */
color: #dfb74c;
background-color: #dfb74c;
/* Tailwind (arbitrary) */
class="text-[#dfb74c] bg-[#dfb74c]"
/* SCSS */
$brand: #dfb74c;
/* SwiftUI */
Color(red: 0.875, green: 0.718, blue: 0.298)
/* Android */
Color.parseColor("#dfb74c")Accessibility — WCAG contrast
Aa
#dfb74c on white: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfb74c on black: 11.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green71.8%
Blue29.8%
CMYK percentages
Cyan0.0%
Magenta17.9%
Yellow65.9%
Key (black)12.5%
Color previews
#dfb74c text on a black background
contrast 11.02:1
Card sample
#dfb74c text on a white background
contrast 1.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfb74c;
Background color
Panel with #dfb74c background
background-color: #dfb74c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfb74c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 183, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 183, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb74c; background: linear-gradient(135deg, #dfb74c, #A5DF4C);