#fafd13
a balanced, electric yellow · cool · closest name: yellow
RGB
250, 253, 19
HSL
61°, 98%, 53%
CMYK
1, 0, 93, 1
Luminance
0.9062
Every format
| HEX | #fafd13 |
| RGB | rgb(250, 253, 19) |
| HSL | hsl(61, 98%, 53%) |
| CMYK | cmyk(1%, 0%, 93%, 1%) |
| LAB | lab(96.3 -22.5 92.2) |
| LCH | lch(96.3 94.9 103.7) |
| OKLCH | oklch(0.960 0.208 110.6) |
Copy-ready code
/* CSS */
color: #fafd13;
background-color: #fafd13;
/* Tailwind (arbitrary) */
class="text-[#fafd13] bg-[#fafd13]"
/* SCSS */
$brand: #fafd13;
/* SwiftUI */
Color(red: 0.980, green: 0.992, blue: 0.075)
/* Android */
Color.parseColor("#fafd13")Accessibility — WCAG contrast
Aa
#fafd13 on white: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fafd13 on black: 19.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green99.2%
Blue7.5%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow92.5%
Key (black)0.8%
Color previews
#fafd13 text on a black background
contrast 19.12:1
Card sample
#fafd13 text on a white background
contrast 1.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fafd13;
Background color
Panel with #fafd13 background
background-color: #fafd13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fafd13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 253, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 253, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fafd13; background: linear-gradient(135deg, #fafd13, #5EFD13);