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