#ccc7af
a light, soft yellow · cool · closest name: silver
RGB
204, 199, 175
HSL
50°, 22%, 74%
CMYK
0, 3, 14, 20
Luminance
0.5678
Every format
| HEX | #ccc7af |
| RGB | rgb(204, 199, 175) |
| HSL | hsl(50, 22%, 74%) |
| CMYK | cmyk(0%, 3%, 14%, 20%) |
| LAB | lab(80.1 -2.3 12.7) |
| LCH | lch(80.1 12.9 100.4) |
| OKLCH | oklch(0.827 0.033 97.4) |
Copy-ready code
/* CSS */
color: #ccc7af;
background-color: #ccc7af;
/* Tailwind (arbitrary) */
class="text-[#ccc7af] bg-[#ccc7af]"
/* SCSS */
$brand: #ccc7af;
/* SwiftUI */
Color(red: 0.800, green: 0.780, blue: 0.686)
/* Android */
Color.parseColor("#ccc7af")Accessibility — WCAG contrast
Aa
#ccc7af on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc7af on black: 12.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.0%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta2.5%
Yellow14.2%
Key (black)20.0%
Color previews
#ccc7af text on a black background
contrast 12.36:1
Card sample
#ccc7af text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc7af;
Background color
Panel with #ccc7af background
background-color: #ccc7af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc7af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 199, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 199, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc7af; background: linear-gradient(135deg, #ccc7af, #BECCAF);