#cdcdaa
a light, soft yellow · cool · closest name: tan
RGB
205, 205, 170
HSL
60°, 26%, 74%
CMYK
0, 0, 17, 20
Luminance
0.5954
Every format
| HEX | #cdcdaa |
| RGB | rgb(205, 205, 170) |
| HSL | hsl(60, 26%, 74%) |
| CMYK | cmyk(0%, 0%, 17%, 20%) |
| LAB | lab(81.6 -5.9 17.5) |
| LCH | lch(81.6 18.4 108.5) |
| OKLCH | oklch(0.839 0.047 107.4) |
Copy-ready code
/* CSS */
color: #cdcdaa;
background-color: #cdcdaa;
/* Tailwind (arbitrary) */
class="text-[#cdcdaa] bg-[#cdcdaa]"
/* SCSS */
$brand: #cdcdaa;
/* SwiftUI */
Color(red: 0.804, green: 0.804, blue: 0.667)
/* Android */
Color.parseColor("#cdcdaa")Accessibility — WCAG contrast
Aa
#cdcdaa on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcdaa on black: 12.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green80.4%
Blue66.7%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow17.1%
Key (black)19.6%
Color previews
#cdcdaa text on a black background
contrast 12.91:1
Card sample
#cdcdaa text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcdaa;
Background color
Panel with #cdcdaa background
background-color: #cdcdaa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcdaa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 205, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 205, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcdaa; background: linear-gradient(135deg, #cdcdaa, #B6CDAA);