#cfd404
a dark, electric yellow · cool · closest name: yellow
RGB
207, 212, 4
HSL
61°, 96%, 42%
CMYK
2, 0, 98, 17
Luminance
0.6036
Every format
| HEX | #cfd404 |
| RGB | rgb(207, 212, 4) |
| HSL | hsl(61, 96%, 42%) |
| CMYK | cmyk(2%, 0%, 98%, 17%) |
| LAB | lab(82.0 -20.8 81.4) |
| LCH | lch(82.0 84.0 104.4) |
| OKLCH | oklch(0.838 0.184 111.5) |
Copy-ready code
/* CSS */
color: #cfd404;
background-color: #cfd404;
/* Tailwind (arbitrary) */
class="text-[#cfd404] bg-[#cfd404]"
/* SCSS */
$brand: #cfd404;
/* SwiftUI */
Color(red: 0.812, green: 0.831, blue: 0.016)
/* Android */
Color.parseColor("#cfd404")Accessibility — WCAG contrast
Aa
#cfd404 on white: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfd404 on black: 13.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green83.1%
Blue1.6%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow98.1%
Key (black)16.9%
Color previews
#cfd404 text on a black background
contrast 13.07:1
Card sample
#cfd404 text on a white background
contrast 1.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfd404;
Background color
Panel with #cfd404 background
background-color: #cfd404;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfd404;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 212, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 212, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd404; background: linear-gradient(135deg, #cfd404, #45D404);