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