#cccf41
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 207, 65
HSL
61°, 60%, 53%
CMYK
1, 0, 69, 19
Luminance
0.5784
Every format
| HEX | #cccf41 |
| RGB | rgb(204, 207, 65) |
| HSL | hsl(61, 60%, 53%) |
| CMYK | cmyk(1%, 0%, 69%, 19%) |
| LAB | lab(80.7 -18.0 66.6) |
| LCH | lch(80.7 69.0 105.1) |
| OKLCH | oklch(0.827 0.159 110.6) |
Copy-ready code
/* CSS */
color: #cccf41;
background-color: #cccf41;
/* Tailwind (arbitrary) */
class="text-[#cccf41] bg-[#cccf41]"
/* SCSS */
$brand: #cccf41;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.255)
/* Android */
Color.parseColor("#cccf41")Accessibility — WCAG contrast
Aa
#cccf41 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf41 on black: 12.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue25.5%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow68.6%
Key (black)18.8%
Color previews
#cccf41 text on a black background
contrast 12.57:1
Card sample
#cccf41 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf41;
Background color
Panel with #cccf41 background
background-color: #cccf41;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf41;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 65, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 65, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf41; background: linear-gradient(135deg, #cccf41, #6DCF41);