#cccf52
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 207, 82
HSL
61°, 57%, 57%
CMYK
1, 0, 60, 19
Luminance
0.5807
Every format
| HEX | #cccf52 |
| RGB | rgb(204, 207, 82) |
| HSL | hsl(61, 57%, 57%) |
| CMYK | cmyk(1%, 0%, 60%, 19%) |
| LAB | lab(80.8 -16.9 60.0) |
| LCH | lch(80.8 62.3 105.8) |
| OKLCH | oklch(0.829 0.146 110.5) |
Copy-ready code
/* CSS */
color: #cccf52;
background-color: #cccf52;
/* Tailwind (arbitrary) */
class="text-[#cccf52] bg-[#cccf52]"
/* SCSS */
$brand: #cccf52;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.322)
/* Android */
Color.parseColor("#cccf52")Accessibility — WCAG contrast
Aa
#cccf52 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf52 on black: 12.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue32.2%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow60.4%
Key (black)18.8%
Color previews
#cccf52 text on a black background
contrast 12.61:1
Card sample
#cccf52 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf52;
Background color
Panel with #cccf52 background
background-color: #cccf52;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf52;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf52; background: linear-gradient(135deg, #cccf52, #79CF52);