#cccd84
a light, soft yellow · cool · closest name: khaki
RGB
204, 205, 132
HSL
61°, 42%, 66%
CMYK
1, 0, 36, 20
Luminance
0.5817
Every format
| HEX | #cccd84 |
| RGB | rgb(204, 205, 132) |
| HSL | hsl(61, 42%, 66%) |
| CMYK | cmyk(1%, 0%, 36%, 20%) |
| LAB | lab(80.8 -11.3 36.3) |
| LCH | lch(80.8 38.0 107.4) |
| OKLCH | oklch(0.831 0.094 109.0) |
Copy-ready code
/* CSS */
color: #cccd84;
background-color: #cccd84;
/* Tailwind (arbitrary) */
class="text-[#cccd84] bg-[#cccd84]"
/* SCSS */
$brand: #cccd84;
/* SwiftUI */
Color(red: 0.800, green: 0.804, blue: 0.518)
/* Android */
Color.parseColor("#cccd84")Accessibility — WCAG contrast
Aa
#cccd84 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccd84 on black: 12.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.4%
Blue51.8%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow35.6%
Key (black)19.6%
Color previews
#cccd84 text on a black background
contrast 12.63:1
Card sample
#cccd84 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccd84;
Background color
Panel with #cccd84 background
background-color: #cccd84;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccd84;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 205, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 205, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccd84; background: linear-gradient(135deg, #cccd84, #9BCD84);