#cec198
a light, soft yellow · cool · closest name: tan
RGB
206, 193, 152
HSL
46°, 36%, 70%
CMYK
0, 6, 26, 19
Luminance
0.5353
Every format
| HEX | #cec198 |
| RGB | rgb(206, 193, 152) |
| HSL | hsl(46, 36%, 70%) |
| CMYK | cmyk(0%, 6%, 26%, 19%) |
| LAB | lab(78.2 -1.8 22.3) |
| LCH | lch(78.2 22.4 94.7) |
| OKLCH | oklch(0.811 0.057 92.6) |
Copy-ready code
/* CSS */
color: #cec198;
background-color: #cec198;
/* Tailwind (arbitrary) */
class="text-[#cec198] bg-[#cec198]"
/* SCSS */
$brand: #cec198;
/* SwiftUI */
Color(red: 0.808, green: 0.757, blue: 0.596)
/* Android */
Color.parseColor("#cec198")Accessibility — WCAG contrast
Aa
#cec198 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec198 on black: 11.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green75.7%
Blue59.6%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow26.2%
Key (black)19.2%
Color previews
#cec198 text on a black background
contrast 11.71:1
Card sample
#cec198 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec198;
Background color
Panel with #cec198 background
background-color: #cec198;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec198;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 193, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 193, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec198; background: linear-gradient(135deg, #cec198, #B7CE98);