#f9cf39
a balanced, electric yellow · cool · closest name: gold
RGB
249, 207, 57
HSL
47°, 94%, 60%
CMYK
0, 17, 77, 2
Luminance
0.6506
Every format
| HEX | #f9cf39 |
| RGB | rgb(249, 207, 57) |
| HSL | hsl(47, 94%, 60%) |
| CMYK | cmyk(0%, 17%, 77%, 2%) |
| LAB | lab(84.5 0.7 74.4) |
| LCH | lch(84.5 74.4 89.5) |
| OKLCH | oklch(0.867 0.162 92.3) |
Copy-ready code
/* CSS */
color: #f9cf39;
background-color: #f9cf39;
/* Tailwind (arbitrary) */
class="text-[#f9cf39] bg-[#f9cf39]"
/* SCSS */
$brand: #f9cf39;
/* SwiftUI */
Color(red: 0.976, green: 0.812, blue: 0.224)
/* Android */
Color.parseColor("#f9cf39")Accessibility — WCAG contrast
Aa
#f9cf39 on white: 1.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f9cf39 on black: 14.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.6%
Green81.2%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta16.9%
Yellow77.1%
Key (black)2.4%
Color previews
#f9cf39 text on a black background
contrast 14.01:1
Card sample
#f9cf39 text on a white background
contrast 1.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f9cf39;
Background color
Panel with #f9cf39 background
background-color: #f9cf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f9cf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(249, 207, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 207, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9cf39; background: linear-gradient(135deg, #f9cf39, #A3F939);