#cccd8c
a light, soft yellow · cool · closest name: khaki
RGB
204, 205, 140
HSL
61°, 39%, 68%
CMYK
1, 0, 32, 20
Luminance
0.5839
Every format
| HEX | #cccd8c |
| RGB | rgb(204, 205, 140) |
| HSL | hsl(61, 39%, 68%) |
| CMYK | cmyk(1%, 0%, 32%, 20%) |
| LAB | lab(81.0 -10.4 32.3) |
| LCH | lch(81.0 34.0 107.8) |
| OKLCH | oklch(0.832 0.085 108.9) |
Copy-ready code
/* CSS */
color: #cccd8c;
background-color: #cccd8c;
/* Tailwind (arbitrary) */
class="text-[#cccd8c] bg-[#cccd8c]"
/* SCSS */
$brand: #cccd8c;
/* SwiftUI */
Color(red: 0.800, green: 0.804, blue: 0.549)
/* Android */
Color.parseColor("#cccd8c")Accessibility — WCAG contrast
Aa
#cccd8c on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccd8c on black: 12.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.4%
Blue54.9%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow31.7%
Key (black)19.6%
Color previews
#cccd8c text on a black background
contrast 12.68:1
Card sample
#cccd8c text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccd8c;
Background color
Panel with #cccd8c background
background-color: #cccd8c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccd8c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 205, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 205, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccd8c; background: linear-gradient(135deg, #cccd8c, #A1CD8C);