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