#f7fc49
a balanced, electric yellow · cool · closest name: yellow
RGB
247, 252, 73
HSL
62°, 97%, 64%
CMYK
2, 0, 71, 1
Luminance
0.8988
Every format
| HEX | #f7fc49 |
| RGB | rgb(247, 252, 73) |
| HSL | hsl(62, 97%, 64%) |
| CMYK | cmyk(2%, 0%, 71%, 1%) |
| LAB | lab(96.0 -21.8 79.8) |
| LCH | lch(96.0 82.8 105.3) |
| OKLCH | oklch(0.958 0.189 111.1) |
Copy-ready code
/* CSS */
color: #f7fc49;
background-color: #f7fc49;
/* Tailwind (arbitrary) */
class="text-[#f7fc49] bg-[#f7fc49]"
/* SCSS */
$brand: #f7fc49;
/* SwiftUI */
Color(red: 0.969, green: 0.988, blue: 0.286)
/* Android */
Color.parseColor("#f7fc49")Accessibility — WCAG contrast
Aa
#f7fc49 on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f7fc49 on black: 18.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.9%
Green98.8%
Blue28.6%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow71.0%
Key (black)1.2%
Color previews
#f7fc49 text on a black background
contrast 18.98:1
Card sample
#f7fc49 text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f7fc49;
Background color
Panel with #f7fc49 background
background-color: #f7fc49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f7fc49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(247, 252, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 252, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7fc49; background: linear-gradient(135deg, #f7fc49, #7FFC49);