#faffb1
a light, electric yellow · cool · closest name: khaki
RGB
250, 255, 177
HSL
64°, 100%, 85%
CMYK
2, 0, 31, 0
Luminance
0.9502
Every format
| HEX | #faffb1 |
| RGB | rgb(250, 255, 177) |
| HSL | hsl(64, 100%, 85%) |
| CMYK | cmyk(2%, 0%, 31%, 0%) |
| LAB | lab(98.0 -13.4 36.8) |
| LCH | lch(98.0 39.2 110.0) |
| OKLCH | oklch(0.978 0.098 111.2) |
Copy-ready code
/* CSS */
color: #faffb1;
background-color: #faffb1;
/* Tailwind (arbitrary) */
class="text-[#faffb1] bg-[#faffb1]"
/* SCSS */
$brand: #faffb1;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.694)
/* Android */
Color.parseColor("#faffb1")Accessibility — WCAG contrast
Aa
#faffb1 on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faffb1 on black: 20.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue69.4%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow30.6%
Key (black)0.0%
Color previews
#faffb1 text on a black background
contrast 20.00:1
Card sample
#faffb1 text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faffb1;
Background color
Panel with #faffb1 background
background-color: #faffb1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faffb1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faffb1; background: linear-gradient(135deg, #faffb1, #C6FFB1);