#cfdf1f
a balanced, electric yellow · cool · closest name: yellow
RGB
207, 223, 31
HSL
65°, 76%, 50%
CMYK
7, 0, 86, 13
Luminance
0.6614
Every format
| HEX | #cfdf1f |
| RGB | rgb(207, 223, 31) |
| HSL | hsl(65, 76%, 50%) |
| CMYK | cmyk(7%, 0%, 86%, 13%) |
| LAB | lab(85.1 -25.7 80.3) |
| LCH | lch(85.1 84.3 107.8) |
| OKLCH | oklch(0.863 0.190 115.0) |
Copy-ready code
/* CSS */
color: #cfdf1f;
background-color: #cfdf1f;
/* Tailwind (arbitrary) */
class="text-[#cfdf1f] bg-[#cfdf1f]"
/* SCSS */
$brand: #cfdf1f;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.122)
/* Android */
Color.parseColor("#cfdf1f")Accessibility — WCAG contrast
Aa
#cfdf1f on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfdf1f on black: 14.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.5%
Blue12.2%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow86.1%
Key (black)12.5%
Color previews
#cfdf1f text on a black background
contrast 14.23:1
Card sample
#cfdf1f text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfdf1f;
Background color
Panel with #cfdf1f background
background-color: #cfdf1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfdf1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 223, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf1f; background: linear-gradient(135deg, #cfdf1f, #4FDF1F);