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