#dfdf55
a balanced, vivid yellow · cool · closest name: khaki
RGB
223, 223, 85
HSL
60°, 68%, 60%
CMYK
0, 0, 62, 13
Luminance
0.6912
Every format
| HEX | #dfdf55 |
| RGB | rgb(223, 223, 85) |
| HSL | hsl(60, 68%, 60%) |
| CMYK | cmyk(0%, 0%, 62%, 13%) |
| LAB | lab(86.6 -16.9 65.4) |
| LCH | lch(86.6 67.5 104.5) |
| OKLCH | oklch(0.878 0.157 109.2) |
Copy-ready code
/* CSS */
color: #dfdf55;
background-color: #dfdf55;
/* Tailwind (arbitrary) */
class="text-[#dfdf55] bg-[#dfdf55]"
/* SCSS */
$brand: #dfdf55;
/* SwiftUI */
Color(red: 0.875, green: 0.875, blue: 0.333)
/* Android */
Color.parseColor("#dfdf55")Accessibility — WCAG contrast
Aa
#dfdf55 on white: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfdf55 on black: 14.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green87.5%
Blue33.3%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow61.9%
Key (black)12.5%
Color previews
#dfdf55 text on a black background
contrast 14.82:1
Card sample
#dfdf55 text on a white background
contrast 1.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfdf55;
Background color
Panel with #dfdf55 background
background-color: #dfdf55;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfdf55;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 223, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 223, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdf55; background: linear-gradient(135deg, #dfdf55, #83DF55);