#dfdf48
a balanced, vivid yellow · cool · closest name: gold
RGB
223, 223, 72
HSL
60°, 70%, 58%
CMYK
0, 0, 68, 13
Luminance
0.6893
Every format
| HEX | #dfdf48 |
| RGB | rgb(223, 223, 72) |
| HSL | hsl(60, 70%, 58%) |
| CMYK | cmyk(0%, 0%, 68%, 13%) |
| LAB | lab(86.5 -17.6 70.3) |
| LCH | lch(86.5 72.5 104.1) |
| OKLCH | oklch(0.877 0.166 109.4) |
Copy-ready code
/* CSS */
color: #dfdf48;
background-color: #dfdf48;
/* Tailwind (arbitrary) */
class="text-[#dfdf48] bg-[#dfdf48]"
/* SCSS */
$brand: #dfdf48;
/* SwiftUI */
Color(red: 0.875, green: 0.875, blue: 0.282)
/* Android */
Color.parseColor("#dfdf48")Accessibility — WCAG contrast
Aa
#dfdf48 on white: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfdf48 on black: 14.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green87.5%
Blue28.2%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow67.7%
Key (black)12.5%
Color previews
#dfdf48 text on a black background
contrast 14.79:1
Card sample
#dfdf48 text on a white background
contrast 1.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfdf48;
Background color
Panel with #dfdf48 background
background-color: #dfdf48;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfdf48;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 223, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 223, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdf48; background: linear-gradient(135deg, #dfdf48, #7ADF48);