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