#dfd265
a balanced, vivid yellow · cool · closest name: khaki
RGB
223, 210, 101
HSL
54°, 66%, 64%
CMYK
0, 6, 55, 13
Luminance
0.6272
Every format
| HEX | #dfd265 |
| RGB | rgb(223, 210, 101) |
| HSL | hsl(54, 66%, 64%) |
| CMYK | cmyk(0%, 6%, 55%, 13%) |
| LAB | lab(83.3 -9.3 54.8) |
| LCH | lch(83.3 55.6 99.6) |
| OKLCH | oklch(0.853 0.131 102.5) |
Copy-ready code
/* CSS */
color: #dfd265;
background-color: #dfd265;
/* Tailwind (arbitrary) */
class="text-[#dfd265] bg-[#dfd265]"
/* SCSS */
$brand: #dfd265;
/* SwiftUI */
Color(red: 0.875, green: 0.824, blue: 0.396)
/* Android */
Color.parseColor("#dfd265")Accessibility — WCAG contrast
Aa
#dfd265 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfd265 on black: 13.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green82.4%
Blue39.6%
CMYK percentages
Cyan0.0%
Magenta5.8%
Yellow54.7%
Key (black)12.5%
Color previews
#dfd265 text on a black background
contrast 13.54:1
Card sample
#dfd265 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfd265;
Background color
Panel with #dfd265 background
background-color: #dfd265;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfd265;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 210, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 210, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd265; background: linear-gradient(135deg, #dfd265, #9BDF65);