#cccf07
a dark, electric yellow · cool · closest name: gold
RGB
204, 207, 7
HSL
61°, 94%, 42%
CMYK
1, 0, 97, 19
Luminance
0.5748
Every format
| HEX | #cccf07 |
| RGB | rgb(204, 207, 7) |
| HSL | hsl(61, 94%, 42%) |
| CMYK | cmyk(1%, 0%, 97%, 19%) |
| LAB | lab(80.5 -19.6 79.8) |
| LCH | lch(80.5 82.2 103.8) |
| OKLCH | oklch(0.825 0.180 110.8) |
Copy-ready code
/* CSS */
color: #cccf07;
background-color: #cccf07;
/* Tailwind (arbitrary) */
class="text-[#cccf07] bg-[#cccf07]"
/* SCSS */
$brand: #cccf07;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.027)
/* Android */
Color.parseColor("#cccf07")Accessibility — WCAG contrast
Aa
#cccf07 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf07 on black: 12.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue2.7%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow96.6%
Key (black)18.8%
Color previews
#cccf07 text on a black background
contrast 12.50:1
Card sample
#cccf07 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf07;
Background color
Panel with #cccf07 background
background-color: #cccf07;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf07;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf07; background: linear-gradient(135deg, #cccf07, #47CF07);