#fafd49
a balanced, electric yellow · cool · closest name: yellow
RGB
250, 253, 73
HSL
61°, 98%, 64%
CMYK
1, 0, 71, 1
Luminance
0.9106
Every format
| HEX | #fafd49 |
| RGB | rgb(250, 253, 73) |
| HSL | hsl(61, 98%, 64%) |
| CMYK | cmyk(1%, 0%, 71%, 1%) |
| LAB | lab(96.4 -21.1 80.4) |
| LCH | lch(96.4 83.1 104.7) |
| OKLCH | oklch(0.962 0.189 110.4) |
Copy-ready code
/* CSS */
color: #fafd49;
background-color: #fafd49;
/* Tailwind (arbitrary) */
class="text-[#fafd49] bg-[#fafd49]"
/* SCSS */
$brand: #fafd49;
/* SwiftUI */
Color(red: 0.980, green: 0.992, blue: 0.286)
/* Android */
Color.parseColor("#fafd49")Accessibility — WCAG contrast
Aa
#fafd49 on white: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fafd49 on black: 19.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green99.2%
Blue28.6%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow71.1%
Key (black)0.8%
Color previews
#fafd49 text on a black background
contrast 19.21:1
Card sample
#fafd49 text on a white background
contrast 1.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fafd49;
Background color
Panel with #fafd49 background
background-color: #fafd49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fafd49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 253, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 253, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fafd49; background: linear-gradient(135deg, #fafd49, #82FD49);