#dfba5f
a balanced, vivid yellow · warm · closest name: khaki
RGB
223, 186, 95
HSL
43°, 67%, 62%
CMYK
0, 17, 57, 13
Luminance
0.5163
Every format
| HEX | #dfba5f |
| RGB | rgb(223, 186, 95) |
| HSL | hsl(43, 67%, 62%) |
| CMYK | cmyk(0%, 17%, 57%, 13%) |
| LAB | lab(77.1 2.6 50.4) |
| LCH | lch(77.1 50.4 87.0) |
| OKLCH | oklch(0.803 0.118 87.5) |
Copy-ready code
/* CSS */
color: #dfba5f;
background-color: #dfba5f;
/* Tailwind (arbitrary) */
class="text-[#dfba5f] bg-[#dfba5f]"
/* SCSS */
$brand: #dfba5f;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.373)
/* Android */
Color.parseColor("#dfba5f")Accessibility — WCAG contrast
Aa
#dfba5f on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfba5f on black: 11.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue37.3%
CMYK percentages
Cyan0.0%
Magenta16.6%
Yellow57.4%
Key (black)12.5%
Color previews
#dfba5f text on a black background
contrast 11.33:1
Card sample
#dfba5f text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfba5f;
Background color
Panel with #dfba5f background
background-color: #dfba5f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfba5f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfba5f; background: linear-gradient(135deg, #dfba5f, #AFDF5F);