#cccd50
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 205, 80
HSL
61°, 56%, 56%
CMYK
1, 0, 61, 20
Luminance
0.5708
Every format
| HEX | #cccd50 |
| RGB | rgb(204, 205, 80) |
| HSL | hsl(61, 56%, 56%) |
| CMYK | cmyk(1%, 0%, 61%, 20%) |
| LAB | lab(80.2 -16.1 60.2) |
| LCH | lch(80.2 62.3 105.0) |
| OKLCH | oklch(0.824 0.146 109.6) |
Copy-ready code
/* CSS */
color: #cccd50;
background-color: #cccd50;
/* Tailwind (arbitrary) */
class="text-[#cccd50] bg-[#cccd50]"
/* SCSS */
$brand: #cccd50;
/* SwiftUI */
Color(red: 0.800, green: 0.804, blue: 0.314)
/* Android */
Color.parseColor("#cccd50")Accessibility — WCAG contrast
Aa
#cccd50 on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccd50 on black: 12.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.4%
Blue31.4%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow61.0%
Key (black)19.6%
Color previews
#cccd50 text on a black background
contrast 12.42:1
Card sample
#cccd50 text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccd50;
Background color
Panel with #cccd50 background
background-color: #cccd50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccd50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 205, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 205, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccd50; background: linear-gradient(135deg, #cccd50, #79CD50);