#cec99c
a light, soft yellow · cool · closest name: tan
RGB
206, 201, 156
HSL
54°, 34%, 71%
CMYK
0, 2, 24, 19
Luminance
0.5730
Every format
| HEX | #cec99c |
| RGB | rgb(206, 201, 156) |
| HSL | hsl(54, 34%, 71%) |
| CMYK | cmyk(0%, 2%, 24%, 19%) |
| LAB | lab(80.3 -5.5 23.2) |
| LCH | lch(80.3 23.8 103.2) |
| OKLCH | oklch(0.829 0.060 102.3) |
Copy-ready code
/* CSS */
color: #cec99c;
background-color: #cec99c;
/* Tailwind (arbitrary) */
class="text-[#cec99c] bg-[#cec99c]"
/* SCSS */
$brand: #cec99c;
/* SwiftUI */
Color(red: 0.808, green: 0.788, blue: 0.612)
/* Android */
Color.parseColor("#cec99c")Accessibility — WCAG contrast
Aa
#cec99c on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec99c on black: 12.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green78.8%
Blue61.2%
CMYK percentages
Cyan0.0%
Magenta2.4%
Yellow24.3%
Key (black)19.2%
Color previews
#cec99c text on a black background
contrast 12.46:1
Card sample
#cec99c text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec99c;
Background color
Panel with #cec99c background
background-color: #cec99c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec99c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 201, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 201, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec99c; background: linear-gradient(135deg, #cec99c, #B2CE9C);