#cfd34f
a balanced, vivid yellow · cool · closest name: khaki
RGB
207, 211, 79
HSL
62°, 60%, 57%
CMYK
2, 0, 63, 17
Luminance
0.6042
Every format
| HEX | #cfd34f |
| RGB | rgb(207, 211, 79) |
| HSL | hsl(62, 60%, 57%) |
| CMYK | cmyk(2%, 0%, 63%, 17%) |
| LAB | lab(82.1 -17.9 62.7) |
| LCH | lch(82.1 65.2 105.9) |
| OKLCH | oklch(0.839 0.152 110.9) |
Copy-ready code
/* CSS */
color: #cfd34f;
background-color: #cfd34f;
/* Tailwind (arbitrary) */
class="text-[#cfd34f] bg-[#cfd34f]"
/* SCSS */
$brand: #cfd34f;
/* SwiftUI */
Color(red: 0.812, green: 0.827, blue: 0.310)
/* Android */
Color.parseColor("#cfd34f")Accessibility — WCAG contrast
Aa
#cfd34f on white: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfd34f on black: 13.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green82.7%
Blue31.0%
CMYK percentages
Cyan1.9%
Magenta0.0%
Yellow62.6%
Key (black)17.3%
Color previews
#cfd34f text on a black background
contrast 13.08:1
Card sample
#cfd34f text on a white background
contrast 1.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfd34f;
Background color
Panel with #cfd34f background
background-color: #cfd34f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfd34f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 211, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 211, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd34f; background: linear-gradient(135deg, #cfd34f, #77D34F);