#dfdfaf
a light, soft yellow · cool · closest name: beige
RGB
223, 223, 175
HSL
60°, 43%, 78%
CMYK
0, 0, 22, 13
Luminance
0.7156
Every format
| HEX | #dfdfaf |
| RGB | rgb(223, 223, 175) |
| HSL | hsl(60, 43%, 78%) |
| CMYK | cmyk(0%, 0%, 22%, 13%) |
| LAB | lab(87.8 -7.7 23.6) |
| LCH | lch(87.8 24.8 108.1) |
| OKLCH | oklch(0.892 0.063 107.6) |
Copy-ready code
/* CSS */
color: #dfdfaf;
background-color: #dfdfaf;
/* Tailwind (arbitrary) */
class="text-[#dfdfaf] bg-[#dfdfaf]"
/* SCSS */
$brand: #dfdfaf;
/* SwiftUI */
Color(red: 0.875, green: 0.875, blue: 0.686)
/* Android */
Color.parseColor("#dfdfaf")Accessibility — WCAG contrast
Aa
#dfdfaf on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfdfaf on black: 15.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green87.5%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow21.5%
Key (black)12.5%
Color previews
#dfdfaf text on a black background
contrast 15.31:1
Card sample
#dfdfaf text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfdfaf;
Background color
Panel with #dfdfaf background
background-color: #dfdfaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfdfaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 223, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 223, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdfaf; background: linear-gradient(135deg, #dfdfaf, #BFDFAF);