#cccc3f
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 204, 63
HSL
60°, 58%, 52%
CMYK
0, 0, 69, 20
Luminance
0.5638
Every format
| HEX | #cccc3f |
| RGB | rgb(204, 204, 63) |
| HSL | hsl(60, 58%, 52%) |
| CMYK | cmyk(0%, 0%, 69%, 20%) |
| LAB | lab(79.8 -16.6 66.5) |
| LCH | lch(79.8 68.6 104.0) |
| OKLCH | oklch(0.820 0.157 109.4) |
Copy-ready code
/* CSS */
color: #cccc3f;
background-color: #cccc3f;
/* Tailwind (arbitrary) */
class="text-[#cccc3f] bg-[#cccc3f]"
/* SCSS */
$brand: #cccc3f;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 0.247)
/* Android */
Color.parseColor("#cccc3f")Accessibility — WCAG contrast
Aa
#cccc3f on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccc3f on black: 12.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.0%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow69.1%
Key (black)20.0%
Color previews
#cccc3f text on a black background
contrast 12.28:1
Card sample
#cccc3f text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccc3f;
Background color
Panel with #cccc3f background
background-color: #cccc3f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccc3f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 204, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 204, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccc3f; background: linear-gradient(135deg, #cccc3f, #6ECC3F);