#fffaf0
a pale, electric yellow · warm · closest name: ivory
RGB
255, 250, 240
HSL
40°, 100%, 97%
CMYK
0, 2, 6, 0
Luminance
0.9592
Every format
| HEX | #fffaf0 |
| RGB | rgb(255, 250, 240) |
| HSL | hsl(40, 100%, 97%) |
| CMYK | cmyk(0%, 2%, 6%, 0%) |
| LAB | lab(98.4 -0.0 5.4) |
| LCH | lch(98.4 5.4 90.4) |
| OKLCH | oklch(0.986 0.014 84.6) |
Copy-ready code
/* CSS */
color: #fffaf0;
background-color: #fffaf0;
/* Tailwind (arbitrary) */
class="text-[#fffaf0] bg-[#fffaf0]"
/* SCSS */
$brand: #fffaf0;
/* SwiftUI */
Color(red: 1.000, green: 0.980, blue: 0.941)
/* Android */
Color.parseColor("#fffaf0")Accessibility — WCAG contrast
Aa
#fffaf0 on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffaf0 on black: 20.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.0%
Blue94.1%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow5.9%
Key (black)0.0%
Color previews
#fffaf0 text on a black background
contrast 20.18:1
Card sample
#fffaf0 text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffaf0;
Background color
Panel with #fffaf0 background
background-color: #fffaf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffaf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 250, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 250, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffaf0; background: linear-gradient(135deg, #fffaf0, #FAFFF0);