#faffb7
a pale, electric yellow · cool · closest name: khaki
RGB
250, 255, 183
HSL
64°, 100%, 86%
CMYK
2, 0, 28, 0
Luminance
0.9526
Every format
| HEX | #faffb7 |
| RGB | rgb(250, 255, 183) |
| HSL | hsl(64, 100%, 86%) |
| CMYK | cmyk(2%, 0%, 28%, 0%) |
| LAB | lab(98.1 -12.7 34.0) |
| LCH | lch(98.1 36.2 110.5) |
| OKLCH | oklch(0.980 0.091 111.3) |
Copy-ready code
/* CSS */
color: #faffb7;
background-color: #faffb7;
/* Tailwind (arbitrary) */
class="text-[#faffb7] bg-[#faffb7]"
/* SCSS */
$brand: #faffb7;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.718)
/* Android */
Color.parseColor("#faffb7")Accessibility — WCAG contrast
Aa
#faffb7 on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faffb7 on black: 20.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue71.8%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow28.2%
Key (black)0.0%
Color previews
#faffb7 text on a black background
contrast 20.05:1
Card sample
#faffb7 text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faffb7;
Background color
Panel with #faffb7 background
background-color: #faffb7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faffb7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faffb7; background: linear-gradient(135deg, #faffb7, #CAFFB7);