#faff76
a light, electric yellow · cool · closest name: khaki
RGB
250, 255, 118
HSL
62°, 100%, 73%
CMYK
2, 0, 54, 0
Luminance
0.9315
Every format
| HEX | #faff76 |
| RGB | rgb(250, 255, 118) |
| HSL | hsl(62, 100%, 73%) |
| CMYK | cmyk(2%, 0%, 54%, 0%) |
| LAB | lab(97.3 -19.3 63.8) |
| LCH | lch(97.3 66.6 106.8) |
| OKLCH | oklch(0.970 0.159 110.9) |
Copy-ready code
/* CSS */
color: #faff76;
background-color: #faff76;
/* Tailwind (arbitrary) */
class="text-[#faff76] bg-[#faff76]"
/* SCSS */
$brand: #faff76;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.463)
/* Android */
Color.parseColor("#faff76")Accessibility — WCAG contrast
Aa
#faff76 on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff76 on black: 19.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue46.3%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow53.7%
Key (black)0.0%
Color previews
#faff76 text on a black background
contrast 19.63:1
Card sample
#faff76 text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff76;
Background color
Panel with #faff76 background
background-color: #faff76;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff76;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff76; background: linear-gradient(135deg, #faff76, #9FFF76);