#cdcba4
a light, soft yellow · cool · closest name: tan
RGB
205, 203, 164
HSL
57°, 29%, 72%
CMYK
0, 1, 20, 20
Luminance
0.5837
Every format
| HEX | #cdcba4 |
| RGB | rgb(205, 203, 164) |
| HSL | hsl(57, 29%, 72%) |
| CMYK | cmyk(0%, 1%, 20%, 20%) |
| LAB | lab(81.0 -5.7 19.8) |
| LCH | lch(81.0 20.6 106.1) |
| OKLCH | oklch(0.834 0.052 105.0) |
Copy-ready code
/* CSS */
color: #cdcba4;
background-color: #cdcba4;
/* Tailwind (arbitrary) */
class="text-[#cdcba4] bg-[#cdcba4]"
/* SCSS */
$brand: #cdcba4;
/* SwiftUI */
Color(red: 0.804, green: 0.796, blue: 0.643)
/* Android */
Color.parseColor("#cdcba4")Accessibility — WCAG contrast
Aa
#cdcba4 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcba4 on black: 12.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green79.6%
Blue64.3%
CMYK percentages
Cyan0.0%
Magenta1.0%
Yellow20.0%
Key (black)19.6%
Color previews
#cdcba4 text on a black background
contrast 12.67:1
Card sample
#cdcba4 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcba4;
Background color
Panel with #cdcba4 background
background-color: #cdcba4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcba4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 203, 164, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 203, 164, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcba4; background: linear-gradient(135deg, #cdcba4, #B4CDA4);