#cccf39
a balanced, vivid yellow · cool · closest name: gold
RGB
204, 207, 57
HSL
61°, 61%, 52%
CMYK
1, 0, 73, 19
Luminance
0.5776
Every format
| HEX | #cccf39 |
| RGB | rgb(204, 207, 57) |
| HSL | hsl(61, 61%, 52%) |
| CMYK | cmyk(1%, 0%, 73%, 19%) |
| LAB | lab(80.6 -18.4 69.4) |
| LCH | lch(80.6 71.8 104.8) |
| OKLCH | oklch(0.827 0.164 110.7) |
Copy-ready code
/* CSS */
color: #cccf39;
background-color: #cccf39;
/* Tailwind (arbitrary) */
class="text-[#cccf39] bg-[#cccf39]"
/* SCSS */
$brand: #cccf39;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.224)
/* Android */
Color.parseColor("#cccf39")Accessibility — WCAG contrast
Aa
#cccf39 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf39 on black: 12.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue22.4%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow72.5%
Key (black)18.8%
Color previews
#cccf39 text on a black background
contrast 12.55:1
Card sample
#cccf39 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf39;
Background color
Panel with #cccf39 background
background-color: #cccf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf39; background: linear-gradient(135deg, #cccf39, #68CF39);