#faff18
a balanced, electric yellow · cool · closest name: yellow
RGB
250, 255, 24
HSL
61°, 100%, 55%
CMYK
2, 0, 91, 0
Luminance
0.9191
Every format
| HEX | #faff18 |
| RGB | rgb(250, 255, 24) |
| HSL | hsl(61, 100%, 55%) |
| CMYK | cmyk(2%, 0%, 91%, 0%) |
| LAB | lab(96.8 -23.4 92.0) |
| LCH | lch(96.8 94.9 104.3) |
| OKLCH | oklch(0.964 0.209 111.2) |
Copy-ready code
/* CSS */
color: #faff18;
background-color: #faff18;
/* Tailwind (arbitrary) */
class="text-[#faff18] bg-[#faff18]"
/* SCSS */
$brand: #faff18;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.094)
/* Android */
Color.parseColor("#faff18")Accessibility — WCAG contrast
Aa
#faff18 on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff18 on black: 19.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue9.4%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow90.6%
Key (black)0.0%
Color previews
#faff18 text on a black background
contrast 19.38:1
Card sample
#faff18 text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff18;
Background color
Panel with #faff18 background
background-color: #faff18;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff18;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 24, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 24, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff18; background: linear-gradient(135deg, #faff18, #60FF18);