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