#d4cfba
a light, soft yellow · cool · closest name: silver
RGB
212, 207, 186
HSL
49°, 23%, 78%
CMYK
0, 2, 12, 17
Luminance
0.6217
Every format
| HEX | #d4cfba |
| RGB | rgb(212, 207, 186) |
| HSL | hsl(49, 23%, 78%) |
| CMYK | cmyk(0%, 2%, 12%, 17%) |
| LAB | lab(83.0 -1.8 11.1) |
| LCH | lch(83.0 11.2 99.4) |
| OKLCH | oklch(0.853 0.029 95.9) |
Copy-ready code
/* CSS */
color: #d4cfba;
background-color: #d4cfba;
/* Tailwind (arbitrary) */
class="text-[#d4cfba] bg-[#d4cfba]"
/* SCSS */
$brand: #d4cfba;
/* SwiftUI */
Color(red: 0.831, green: 0.812, blue: 0.729)
/* Android */
Color.parseColor("#d4cfba")Accessibility — WCAG contrast
Aa
#d4cfba on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d4cfba on black: 13.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green81.2%
Blue72.9%
CMYK percentages
Cyan0.0%
Magenta2.4%
Yellow12.3%
Key (black)16.9%
Color previews
#d4cfba text on a black background
contrast 13.43:1
Card sample
#d4cfba text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d4cfba;
Background color
Panel with #d4cfba background
background-color: #d4cfba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d4cfba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 207, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 207, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4cfba; background: linear-gradient(135deg, #d4cfba, #C8D4BA);