#cccbab
a light, soft yellow · cool · closest name: tan
RGB
204, 203, 171
HSL
58°, 24%, 74%
CMYK
0, 1, 16, 20
Luminance
0.5849
Every format
| HEX | #cccbab |
| RGB | rgb(204, 203, 171) |
| HSL | hsl(58, 24%, 74%) |
| CMYK | cmyk(0%, 1%, 16%, 20%) |
| LAB | lab(81.0 -5.0 16.1) |
| LCH | lch(81.0 16.9 107.4) |
| OKLCH | oklch(0.835 0.043 105.8) |
Copy-ready code
/* CSS */
color: #cccbab;
background-color: #cccbab;
/* Tailwind (arbitrary) */
class="text-[#cccbab] bg-[#cccbab]"
/* SCSS */
$brand: #cccbab;
/* SwiftUI */
Color(red: 0.800, green: 0.796, blue: 0.671)
/* Android */
Color.parseColor("#cccbab")Accessibility — WCAG contrast
Aa
#cccbab on white: 1.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccbab on black: 12.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green79.6%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta0.5%
Yellow16.2%
Key (black)20.0%
Color previews
#cccbab text on a black background
contrast 12.70:1
Card sample
#cccbab text on a white background
contrast 1.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccbab;
Background color
Panel with #cccbab background
background-color: #cccbab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccbab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 203, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 203, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccbab; background: linear-gradient(135deg, #cccbab, #B7CCAB);