#dfba68
a balanced, vivid yellow · warm · closest name: khaki
RGB
223, 186, 104
HSL
41°, 65%, 64%
CMYK
0, 17, 53, 13
Luminance
0.5181
Every format
| HEX | #dfba68 |
| RGB | rgb(223, 186, 104) |
| HSL | hsl(41, 65%, 64%) |
| CMYK | cmyk(0%, 17%, 53%, 13%) |
| LAB | lab(77.2 3.4 46.1) |
| LCH | lch(77.2 46.2 85.8) |
| OKLCH | oklch(0.804 0.110 85.6) |
Copy-ready code
/* CSS */
color: #dfba68;
background-color: #dfba68;
/* Tailwind (arbitrary) */
class="text-[#dfba68] bg-[#dfba68]"
/* SCSS */
$brand: #dfba68;
/* SwiftUI */
Color(red: 0.875, green: 0.729, blue: 0.408)
/* Android */
Color.parseColor("#dfba68")Accessibility — WCAG contrast
Aa
#dfba68 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfba68 on black: 11.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green72.9%
Blue40.8%
CMYK percentages
Cyan0.0%
Magenta16.6%
Yellow53.4%
Key (black)12.5%
Color previews
#dfba68 text on a black background
contrast 11.36:1
Card sample
#dfba68 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfba68;
Background color
Panel with #dfba68 background
background-color: #dfba68;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfba68;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 186, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 186, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfba68; background: linear-gradient(135deg, #dfba68, #B5DF68);