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