#f3cf50
a balanced, electric yellow · cool · closest name: gold
RGB
243, 207, 80
HSL
47°, 87%, 63%
CMYK
0, 15, 67, 5
Luminance
0.6426
Every format
| HEX | #f3cf50 |
| RGB | rgb(243, 207, 80) |
| HSL | hsl(47, 87%, 63%) |
| CMYK | cmyk(0%, 15%, 67%, 5%) |
| LAB | lab(84.1 -0.8 65.3) |
| LCH | lch(84.1 65.3 90.7) |
| OKLCH | oklch(0.863 0.147 93.1) |
Copy-ready code
/* CSS */
color: #f3cf50;
background-color: #f3cf50;
/* Tailwind (arbitrary) */
class="text-[#f3cf50] bg-[#f3cf50]"
/* SCSS */
$brand: #f3cf50;
/* SwiftUI */
Color(red: 0.953, green: 0.812, blue: 0.314)
/* Android */
Color.parseColor("#f3cf50")Accessibility — WCAG contrast
Aa
#f3cf50 on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f3cf50 on black: 13.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.3%
Green81.2%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta14.8%
Yellow67.1%
Key (black)4.7%
Color previews
#f3cf50 text on a black background
contrast 13.85:1
Card sample
#f3cf50 text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f3cf50;
Background color
Panel with #f3cf50 background
background-color: #f3cf50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f3cf50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(243, 207, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 207, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3cf50; background: linear-gradient(135deg, #f3cf50, #AAF350);