#ccc8ab
a light, soft yellow · cool · closest name: tan
RGB
204, 200, 171
HSL
53°, 24%, 74%
CMYK
0, 2, 16, 20
Luminance
0.5709
Every format
| HEX | #ccc8ab |
| RGB | rgb(204, 200, 171) |
| HSL | hsl(53, 24%, 74%) |
| CMYK | cmyk(0%, 2%, 16%, 20%) |
| LAB | lab(80.2 -3.5 15.0) |
| LCH | lch(80.2 15.4 103.0) |
| OKLCH | oklch(0.828 0.040 100.7) |
Copy-ready code
/* CSS */
color: #ccc8ab;
background-color: #ccc8ab;
/* Tailwind (arbitrary) */
class="text-[#ccc8ab] bg-[#ccc8ab]"
/* SCSS */
$brand: #ccc8ab;
/* SwiftUI */
Color(red: 0.800, green: 0.784, blue: 0.671)
/* Android */
Color.parseColor("#ccc8ab")Accessibility — WCAG contrast
Aa
#ccc8ab on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc8ab on black: 12.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.4%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow16.2%
Key (black)20.0%
Color previews
#ccc8ab text on a black background
contrast 12.42:1
Card sample
#ccc8ab text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc8ab;
Background color
Panel with #ccc8ab background
background-color: #ccc8ab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc8ab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 200, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 200, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc8ab; background: linear-gradient(135deg, #ccc8ab, #BACCAB);