#F8FAF0#F8FAF0
#F8FAF0 is a very light, near-neutral yellow-green. Relative luminance 0.946; OKLCH L 98.1% C 0.013 H 115.8°. Best body text is #000000 at 19.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F8FAF0 |
|---|---|
| RGB | rgb(248, 250, 240) |
| HSL | hsl(72, 50%, 96%) |
| HSV | hsv(72, 4%, 98%) |
| CMYK | cmyk(0.8%, 0%, 4%, 2%) |
| CIE-LAB | lab(97.88, -2.39, 4.56) |
| CIE-LCH | lch(97.88, 5.15, 117.72°) |
| OKLab | oklab(98.09% -0.0058 0.012) |
| OKLCH | oklch(98.09% 0.013 115.8) |
| XYZ | xyz(88.6227, 94.6190, 96.0157) |
| Luminance | 0.9462 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Ivory
#FFFFF0
ΔE00 2.31
Floralwhite
#FFFAF0
ΔE00 3.39
Mintcream
#F5FFFA
ΔE00 3.83
Off White
#FAF9F6
ΔE00 3.87
Oldlace
#FDF5E6
ΔE00 4.72
Whitesmoke
#F5F5F5
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8FAF0 #F2F0FA
analogous
#FAF7F0 #F8FAF0 #F3FAF0
triadic
#F8FAF0 #F0F8FA #FAF0F8
tetradic
#F8FAF0 #F0FAF7 #F2F0FA #FAF0F3
square
#F8FAF0 #F0FAF7 #F2F0FA #FAF0F3
split-complementary
#F8FAF0 #F0F3FA #F7F0FA
monochromatic
#CDDB94 #E3EBC2 #F4F7E8 #F4F7E8 #F4F7E8
Accessibility & contrast
On white
1.05
#F8FAF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.92
#F8FAF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8FAF0
19.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8FAF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8FAF0 | 1.00 | 1.05 | 19.92 | 19.92 |
| #FFFFFF | 1.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCF9EF
Deuteranopia (green-blind)
#FBF9F0
Tritanopia (blue-blind)
#F9F9F7
Achromatopsia (no color)
#F9F9F9
Design tokens & code
CSS
--color: #f8faf0; /* rgb */ color: rgb(248, 250, 240); /* oklch */ color: oklch(98.1% 0.013 115.8);
Tailwind
colors: {
custom: {
50: '#fafbf4',
500: '#f8faf0',
950: '#000000',
},
}SCSS
$custom: #f8faf0; $custom-light: #fafbf4; $custom-dark: #000000;
JSON
{
"hex": "#f8faf0",
"rgb": {
"r": 248,
"g": 250,
"b": 240
},
"hsl": {
"h": 72,
"s": 50,
"l": 96.078
},
"oklch": {
"l": 0.98086,
"c": 0.01331,
"h": 115.8
},
"luminance": 0.94619
}Semantic roles & 50–950 ramp
primary
#F8FAF0
secondary
#BBB4DB
accent
#28BD46
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585