#d4cfad
a light, soft yellow · cool · closest name: tan
RGB
212, 207, 173
HSL
52°, 31%, 76%
CMYK
0, 2, 18, 17
Luminance
0.6164
Every format
| HEX | #d4cfad |
| RGB | rgb(212, 207, 173) |
| HSL | hsl(52, 31%, 76%) |
| CMYK | cmyk(0%, 2%, 18%, 17%) |
| LAB | lab(82.7 -3.9 17.6) |
| LCH | lch(82.7 18.0 102.4) |
| OKLCH | oklch(0.850 0.046 100.4) |
Copy-ready code
/* CSS */
color: #d4cfad;
background-color: #d4cfad;
/* Tailwind (arbitrary) */
class="text-[#d4cfad] bg-[#d4cfad]"
/* SCSS */
$brand: #d4cfad;
/* SwiftUI */
Color(red: 0.831, green: 0.812, blue: 0.678)
/* Android */
Color.parseColor("#d4cfad")Accessibility — WCAG contrast
Aa
#d4cfad on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d4cfad on black: 13.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green81.2%
Blue67.8%
CMYK percentages
Cyan0.0%
Magenta2.4%
Yellow18.4%
Key (black)16.9%
Color previews
#d4cfad text on a black background
contrast 13.33:1
Card sample
#d4cfad text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d4cfad;
Background color
Panel with #d4cfad background
background-color: #d4cfad;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d4cfad;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 207, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 207, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4cfad; background: linear-gradient(135deg, #d4cfad, #BFD4AD);