#faff56
a light, electric yellow · cool · closest name: yellow
RGB
250, 255, 86
HSL
62°, 100%, 67%
CMYK
2, 0, 66, 0
Luminance
0.9252
Every format
| HEX | #faff56 |
| RGB | rgb(250, 255, 86) |
| HSL | hsl(62, 100%, 67%) |
| CMYK | cmyk(2%, 0%, 66%, 0%) |
| LAB | lab(97.0 -21.4 76.5) |
| LCH | lch(97.0 79.4 105.6) |
| OKLCH | oklch(0.967 0.184 111.0) |
Copy-ready code
/* CSS */
color: #faff56;
background-color: #faff56;
/* Tailwind (arbitrary) */
class="text-[#faff56] bg-[#faff56]"
/* SCSS */
$brand: #faff56;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.337)
/* Android */
Color.parseColor("#faff56")Accessibility — WCAG contrast
Aa
#faff56 on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff56 on black: 19.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue33.7%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow66.3%
Key (black)0.0%
Color previews
#faff56 text on a black background
contrast 19.50:1
Card sample
#faff56 text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff56;
Background color
Panel with #faff56 background
background-color: #faff56;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff56;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff56; background: linear-gradient(135deg, #faff56, #89FF56);