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