#cfdf40
a balanced, vivid yellow · cool · closest name: yellow
RGB
207, 223, 64
HSL
66°, 71%, 56%
CMYK
7, 0, 71, 13
Luminance
0.6641
Every format
| HEX | #cfdf40 |
| RGB | rgb(207, 223, 64) |
| HSL | hsl(66, 71%, 56%) |
| CMYK | cmyk(7%, 0%, 71%, 13%) |
| LAB | lab(85.2 -24.6 71.5) |
| LCH | lch(85.2 75.6 109.0) |
| OKLCH | oklch(0.864 0.175 115.2) |
Copy-ready code
/* CSS */
color: #cfdf40;
background-color: #cfdf40;
/* Tailwind (arbitrary) */
class="text-[#cfdf40] bg-[#cfdf40]"
/* SCSS */
$brand: #cfdf40;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.251)
/* Android */
Color.parseColor("#cfdf40")Accessibility — WCAG contrast
Aa
#cfdf40 on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfdf40 on black: 14.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.5%
Blue25.1%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow71.3%
Key (black)12.5%
Color previews
#cfdf40 text on a black background
contrast 14.28:1
Card sample
#cfdf40 text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfdf40;
Background color
Panel with #cfdf40 background
background-color: #cfdf40;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfdf40;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 223, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf40; background: linear-gradient(135deg, #cfdf40, #65DF40);