#ffcf49
a balanced, electric yellow · warm · closest name: gold
RGB
255, 207, 73
HSL
44°, 100%, 64%
CMYK
0, 19, 71, 0
Luminance
0.6637
Every format
| HEX | #ffcf49 |
| RGB | rgb(255, 207, 73) |
| HSL | hsl(44, 100%, 64%) |
| CMYK | cmyk(0%, 19%, 71%, 0%) |
| LAB | lab(85.2 3.8 69.6) |
| LCH | lch(85.2 69.7 86.8) |
| OKLCH | oklch(0.874 0.154 88.5) |
Copy-ready code
/* CSS */
color: #ffcf49;
background-color: #ffcf49;
/* Tailwind (arbitrary) */
class="text-[#ffcf49] bg-[#ffcf49]"
/* SCSS */
$brand: #ffcf49;
/* SwiftUI */
Color(red: 1.000, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#ffcf49")Accessibility — WCAG contrast
Aa
#ffcf49 on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcf49 on black: 14.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green81.2%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta18.8%
Yellow71.4%
Key (black)0.0%
Color previews
#ffcf49 text on a black background
contrast 14.27:1
Card sample
#ffcf49 text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcf49;
Background color
Panel with #ffcf49 background
background-color: #ffcf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcf49; background: linear-gradient(135deg, #ffcf49, #B6FF49);