#ceccab
a light, soft yellow · cool · closest name: tan
RGB
206, 204, 171
HSL
57°, 26%, 74%
CMYK
0, 1, 17, 19
Luminance
0.5925
Every format
| HEX | #ceccab |
| RGB | rgb(206, 204, 171) |
| HSL | hsl(57, 26%, 74%) |
| CMYK | cmyk(0%, 1%, 17%, 19%) |
| LAB | lab(81.4 -4.8 16.7) |
| LCH | lch(81.4 17.4 106.1) |
| OKLCH | oklch(0.838 0.044 104.5) |
Copy-ready code
/* CSS */
color: #ceccab;
background-color: #ceccab;
/* Tailwind (arbitrary) */
class="text-[#ceccab] bg-[#ceccab]"
/* SCSS */
$brand: #ceccab;
/* SwiftUI */
Color(red: 0.808, green: 0.800, blue: 0.671)
/* Android */
Color.parseColor("#ceccab")Accessibility — WCAG contrast
Aa
#ceccab on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceccab on black: 12.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green80.0%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta1.0%
Yellow17.0%
Key (black)19.2%
Color previews
#ceccab text on a black background
contrast 12.85:1
Card sample
#ceccab text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceccab;
Background color
Panel with #ceccab background
background-color: #ceccab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceccab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 204, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 204, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceccab; background: linear-gradient(135deg, #ceccab, #B9CEAB);