#cfdf12
a balanced, electric yellow · cool · closest name: yellow
RGB
207, 223, 18
HSL
65°, 85%, 47%
CMYK
7, 0, 92, 13
Luminance
0.6608
Every format
| HEX | #cfdf12 |
| RGB | rgb(207, 223, 18) |
| HSL | hsl(65, 85%, 47%) |
| CMYK | cmyk(7%, 0%, 92%, 13%) |
| LAB | lab(85.0 -26.0 82.3) |
| LCH | lch(85.0 86.3 107.5) |
| OKLCH | oklch(0.862 0.193 114.9) |
Copy-ready code
/* CSS */
color: #cfdf12;
background-color: #cfdf12;
/* Tailwind (arbitrary) */
class="text-[#cfdf12] bg-[#cfdf12]"
/* SCSS */
$brand: #cfdf12;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.071)
/* Android */
Color.parseColor("#cfdf12")Accessibility — WCAG contrast
Aa
#cfdf12 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfdf12 on black: 14.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.5%
Blue7.1%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow91.9%
Key (black)12.5%
Color previews
#cfdf12 text on a black background
contrast 14.22:1
Card sample
#cfdf12 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfdf12;
Background color
Panel with #cfdf12 background
background-color: #cfdf12;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfdf12;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 223, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf12; background: linear-gradient(135deg, #cfdf12, #46DF12);