#faff80
a light, electric yellow · cool · closest name: khaki
RGB
250, 255, 128
HSL
62°, 100%, 75%
CMYK
2, 0, 50, 0
Luminance
0.9340
Every format
| HEX | #faff80 |
| RGB | rgb(250, 255, 128) |
| HSL | hsl(62, 100%, 75%) |
| CMYK | cmyk(2%, 0%, 50%, 0%) |
| LAB | lab(97.4 -18.5 59.4) |
| LCH | lch(97.4 62.3 107.3) |
| OKLCH | oklch(0.971 0.150 110.9) |
Copy-ready code
/* CSS */
color: #faff80;
background-color: #faff80;
/* Tailwind (arbitrary) */
class="text-[#faff80] bg-[#faff80]"
/* SCSS */
$brand: #faff80;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.502)
/* Android */
Color.parseColor("#faff80")Accessibility — WCAG contrast
Aa
#faff80 on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff80 on black: 19.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue50.2%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow49.8%
Key (black)0.0%
Color previews
#faff80 text on a black background
contrast 19.68:1
Card sample
#faff80 text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff80;
Background color
Panel with #faff80 background
background-color: #faff80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff80; background: linear-gradient(135deg, #faff80, #A5FF80);