#cfda3b
a balanced, vivid yellow · cool · closest name: gold
RGB
207, 218, 59
HSL
64°, 68%, 54%
CMYK
5, 0, 73, 15
Luminance
0.6372
Every format
| HEX | #cfda3b |
| RGB | rgb(207, 218, 59) |
| HSL | hsl(64, 68%, 54%) |
| CMYK | cmyk(5%, 0%, 73%, 15%) |
| LAB | lab(83.8 -22.4 71.8) |
| LCH | lch(83.8 75.3 107.3) |
| OKLCH | oklch(0.853 0.173 113.5) |
Copy-ready code
/* CSS */
color: #cfda3b;
background-color: #cfda3b;
/* Tailwind (arbitrary) */
class="text-[#cfda3b] bg-[#cfda3b]"
/* SCSS */
$brand: #cfda3b;
/* SwiftUI */
Color(red: 0.812, green: 0.855, blue: 0.231)
/* Android */
Color.parseColor("#cfda3b")Accessibility — WCAG contrast
Aa
#cfda3b on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfda3b on black: 13.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green85.5%
Blue23.1%
CMYK percentages
Cyan5.0%
Magenta0.0%
Yellow72.9%
Key (black)14.5%
Color previews
#cfda3b text on a black background
contrast 13.74:1
Card sample
#cfda3b text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfda3b;
Background color
Panel with #cfda3b background
background-color: #cfda3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfda3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 218, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 218, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfda3b; background: linear-gradient(135deg, #cfda3b, #65DA3B);