#cccd72
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 205, 114
HSL
61°, 48%, 63%
CMYK
1, 0, 44, 20
Luminance
0.5771
Every format
| HEX | #cccd72 |
| RGB | rgb(204, 205, 114) |
| HSL | hsl(61, 48%, 63%) |
| CMYK | cmyk(1%, 0%, 44%, 20%) |
| LAB | lab(80.6 -13.3 45.0) |
| LCH | lch(80.6 46.9 106.4) |
| OKLCH | oklch(0.828 0.114 109.2) |
Copy-ready code
/* CSS */
color: #cccd72;
background-color: #cccd72;
/* Tailwind (arbitrary) */
class="text-[#cccd72] bg-[#cccd72]"
/* SCSS */
$brand: #cccd72;
/* SwiftUI */
Color(red: 0.800, green: 0.804, blue: 0.447)
/* Android */
Color.parseColor("#cccd72")Accessibility — WCAG contrast
Aa
#cccd72 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccd72 on black: 12.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.4%
Blue44.7%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow44.4%
Key (black)19.6%
Color previews
#cccd72 text on a black background
contrast 12.54:1
Card sample
#cccd72 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccd72;
Background color
Panel with #cccd72 background
background-color: #cccd72;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccd72;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 205, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 205, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccd72; background: linear-gradient(135deg, #cccd72, #8FCD72);