#faff8f
a light, electric yellow · cool · closest name: khaki
RGB
250, 255, 143
HSL
63°, 100%, 78%
CMYK
2, 0, 44, 0
Luminance
0.9383
Every format
| HEX | #faff8f |
| RGB | rgb(250, 255, 143) |
| HSL | hsl(63, 100%, 78%) |
| CMYK | cmyk(2%, 0%, 44%, 0%) |
| LAB | lab(97.6 -17.1 52.7) |
| LCH | lch(97.6 55.4 108.0) |
| OKLCH | oklch(0.973 0.136 110.9) |
Copy-ready code
/* CSS */
color: #faff8f;
background-color: #faff8f;
/* Tailwind (arbitrary) */
class="text-[#faff8f] bg-[#faff8f]"
/* SCSS */
$brand: #faff8f;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.561)
/* Android */
Color.parseColor("#faff8f")Accessibility — WCAG contrast
Aa
#faff8f on white: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faff8f on black: 19.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue56.1%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow43.9%
Key (black)0.0%
Color previews
#faff8f text on a black background
contrast 19.77:1
Card sample
#faff8f text on a white background
contrast 1.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faff8f;
Background color
Panel with #faff8f background
background-color: #faff8f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faff8f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff8f; background: linear-gradient(135deg, #faff8f, #AFFF8F);