#ccce0f
a dark, electric yellow · cool · closest name: gold
RGB
204, 206, 15
HSL
61°, 86%, 43%
CMYK
1, 0, 93, 19
Luminance
0.5701
Every format
| HEX | #ccce0f |
| RGB | rgb(204, 206, 15) |
| HSL | hsl(61, 86%, 43%) |
| CMYK | cmyk(1%, 0%, 93%, 19%) |
| LAB | lab(80.2 -19.1 78.8) |
| LCH | lch(80.2 81.1 103.6) |
| OKLCH | oklch(0.823 0.178 110.5) |
Copy-ready code
/* CSS */
color: #ccce0f;
background-color: #ccce0f;
/* Tailwind (arbitrary) */
class="text-[#ccce0f] bg-[#ccce0f]"
/* SCSS */
$brand: #ccce0f;
/* SwiftUI */
Color(red: 0.800, green: 0.808, blue: 0.059)
/* Android */
Color.parseColor("#ccce0f")Accessibility — WCAG contrast
Aa
#ccce0f on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccce0f on black: 12.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.8%
Blue5.9%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow92.7%
Key (black)19.2%
Color previews
#ccce0f text on a black background
contrast 12.40:1
Card sample
#ccce0f text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccce0f;
Background color
Panel with #ccce0f background
background-color: #ccce0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccce0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 206, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 206, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccce0f; background: linear-gradient(135deg, #ccce0f, #4DCE0F);