#fafa54
a light, electric yellow · cool · closest name: yellow
RGB
250, 250, 84
HSL
60°, 94%, 66%
CMYK
0, 0, 66, 2
Luminance
0.8934
Every format
| HEX | #fafa54 |
| RGB | rgb(250, 250, 84) |
| HSL | hsl(60, 94%, 66%) |
| CMYK | cmyk(0%, 0%, 66%, 2%) |
| LAB | lab(95.7 -19.1 75.9) |
| LCH | lch(95.7 78.2 104.1) |
| OKLCH | oklch(0.957 0.180 109.4) |
Copy-ready code
/* CSS */
color: #fafa54;
background-color: #fafa54;
/* Tailwind (arbitrary) */
class="text-[#fafa54] bg-[#fafa54]"
/* SCSS */
$brand: #fafa54;
/* SwiftUI */
Color(red: 0.980, green: 0.980, blue: 0.329)
/* Android */
Color.parseColor("#fafa54")Accessibility — WCAG contrast
Aa
#fafa54 on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fafa54 on black: 18.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green98.0%
Blue32.9%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow66.4%
Key (black)2.0%
Color previews
#fafa54 text on a black background
contrast 18.87:1
Card sample
#fafa54 text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fafa54;
Background color
Panel with #fafa54 background
background-color: #fafa54;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fafa54;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 250, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 250, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fafa54; background: linear-gradient(135deg, #fafa54, #8BFA54);