#cec7ab
a light, soft yellow · cool · closest name: tan
RGB
206, 199, 171
HSL
48°, 26%, 74%
CMYK
0, 3, 17, 19
Luminance
0.5691
Every format
| HEX | #cec7ab |
| RGB | rgb(206, 199, 171) |
| HSL | hsl(48, 26%, 74%) |
| CMYK | cmyk(0%, 3%, 17%, 19%) |
| LAB | lab(80.1 -2.2 14.9) |
| LCH | lch(80.1 15.1 98.5) |
| OKLCH | oklch(0.828 0.039 95.5) |
Copy-ready code
/* CSS */
color: #cec7ab;
background-color: #cec7ab;
/* Tailwind (arbitrary) */
class="text-[#cec7ab] bg-[#cec7ab]"
/* SCSS */
$brand: #cec7ab;
/* SwiftUI */
Color(red: 0.808, green: 0.780, blue: 0.671)
/* Android */
Color.parseColor("#cec7ab")Accessibility — WCAG contrast
Aa
#cec7ab on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec7ab on black: 12.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green78.0%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta3.4%
Yellow17.0%
Key (black)19.2%
Color previews
#cec7ab text on a black background
contrast 12.38:1
Card sample
#cec7ab text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec7ab;
Background color
Panel with #cec7ab background
background-color: #cec7ab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec7ab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 199, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 199, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec7ab; background: linear-gradient(135deg, #cec7ab, #BECEAB);