#cfda49
a balanced, vivid yellow · cool · closest name: khaki
RGB
207, 218, 73
HSL
65°, 66%, 57%
CMYK
5, 0, 67, 15
Luminance
0.6389
Every format
| HEX | #cfda49 |
| RGB | rgb(207, 218, 73) |
| HSL | hsl(65, 66%, 57%) |
| CMYK | cmyk(5%, 0%, 67%, 15%) |
| LAB | lab(83.9 -21.7 67.0) |
| LCH | lch(83.9 70.4 107.9) |
| OKLCH | oklch(0.854 0.164 113.6) |
Copy-ready code
/* CSS */
color: #cfda49;
background-color: #cfda49;
/* Tailwind (arbitrary) */
class="text-[#cfda49] bg-[#cfda49]"
/* SCSS */
$brand: #cfda49;
/* SwiftUI */
Color(red: 0.812, green: 0.855, blue: 0.286)
/* Android */
Color.parseColor("#cfda49")Accessibility — WCAG contrast
Aa
#cfda49 on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfda49 on black: 13.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green85.5%
Blue28.6%
CMYK percentages
Cyan5.0%
Magenta0.0%
Yellow66.5%
Key (black)14.5%
Color previews
#cfda49 text on a black background
contrast 13.78:1
Card sample
#cfda49 text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfda49;
Background color
Panel with #cfda49 background
background-color: #cfda49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfda49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 218, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 218, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfda49; background: linear-gradient(135deg, #cfda49, #6EDA49);