#dfd768
a balanced, vivid yellow · cool · closest name: khaki
RGB
223, 215, 104
HSL
56°, 65%, 64%
CMYK
0, 4, 53, 13
Luminance
0.6529
Every format
| HEX | #dfd768 |
| RGB | rgb(223, 215, 104) |
| HSL | hsl(56, 65%, 64%) |
| CMYK | cmyk(0%, 4%, 53%, 13%) |
| LAB | lab(84.6 -11.5 55.0) |
| LCH | lch(84.6 56.1 101.9) |
| OKLCH | oklch(0.864 0.133 105.1) |
Copy-ready code
/* CSS */
color: #dfd768;
background-color: #dfd768;
/* Tailwind (arbitrary) */
class="text-[#dfd768] bg-[#dfd768]"
/* SCSS */
$brand: #dfd768;
/* SwiftUI */
Color(red: 0.875, green: 0.843, blue: 0.408)
/* Android */
Color.parseColor("#dfd768")Accessibility — WCAG contrast
Aa
#dfd768 on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfd768 on black: 14.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green84.3%
Blue40.8%
CMYK percentages
Cyan0.0%
Magenta3.6%
Yellow53.4%
Key (black)12.5%
Color previews
#dfd768 text on a black background
contrast 14.06:1
Card sample
#dfd768 text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfd768;
Background color
Panel with #dfd768 background
background-color: #dfd768;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfd768;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 215, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 215, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd768; background: linear-gradient(135deg, #dfd768, #98DF68);