#dfbc56
a balanced, vivid yellow · warm · closest name: khaki
RGB
223, 188, 86
HSL
45°, 68%, 61%
CMYK
0, 16, 61, 13
Luminance
0.5233
Every format
| HEX | #dfbc56 |
| RGB | rgb(223, 188, 86) |
| HSL | hsl(45, 68%, 61%) |
| CMYK | cmyk(0%, 16%, 61%, 13%) |
| LAB | lab(77.5 1.0 55.0) |
| LCH | lch(77.5 55.1 89.0) |
| OKLCH | oklch(0.806 0.127 90.3) |
Copy-ready code
/* CSS */
color: #dfbc56;
background-color: #dfbc56;
/* Tailwind (arbitrary) */
class="text-[#dfbc56] bg-[#dfbc56]"
/* SCSS */
$brand: #dfbc56;
/* SwiftUI */
Color(red: 0.875, green: 0.737, blue: 0.337)
/* Android */
Color.parseColor("#dfbc56")Accessibility — WCAG contrast
Aa
#dfbc56 on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbc56 on black: 11.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green73.7%
Blue33.7%
CMYK percentages
Cyan0.0%
Magenta15.7%
Yellow61.4%
Key (black)12.5%
Color previews
#dfbc56 text on a black background
contrast 11.47:1
Card sample
#dfbc56 text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbc56;
Background color
Panel with #dfbc56 background
background-color: #dfbc56;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbc56;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 188, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 188, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbc56; background: linear-gradient(135deg, #dfbc56, #A7DF56);