#FAF8F2#FAF8F2
#FAF8F2 is a very light, near-neutral yellow. Relative luminance 0.939; OKLCH L 97.9% C 0.008 H 91.5°. Best body text is #000000 at 19.77:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF8F2 |
|---|---|
| RGB | rgb(250, 248, 242) |
| HSL | hsl(45, 44%, 96%) |
| HSV | hsv(45, 3%, 98%) |
| CMYK | cmyk(0%, 0.8%, 3.2%, 2%) |
| CIE-LAB | lab(97.58, -0.37, 3.11) |
| CIE-LCH | lch(97.58, 3.13, 96.85°) |
| OKLab | oklab(97.9% -0.0002 0.0082) |
| OKLCH | oklch(97.9% 0.008 91.5) |
| XYZ | xyz(89.0164, 93.8699, 97.4164) |
| Luminance | 0.9387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off White
#FAF9F6
ΔE00 1.44
Floralwhite
#FFFAF0
ΔE00 2.03
Whitesmoke
#F5F5F5
ΔE00 3.01
White
#FFFFFF
ΔE00 3.27
Pale Grey
#FDFDFE
ΔE00 3.64
Seashell
#FFF5EE
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF8F2 #F2F4FA
analogous
#FAF4F2 #FAF8F2 #F8FAF2
triadic
#FAF8F2 #F2FAF8 #F8F2FA
tetradic
#FAF8F2 #F2FAF4 #F2F4FA #FAF2F8
square
#FAF8F2 #F2FAF4 #F2F4FA #FAF2F8
split-complementary
#FAF8F2 #F2F8FA #F4F2FA
monochromatic
#D8C89A #E9E0C6 #F6F3E9 #F6F3E9 #F6F3E9
Accessibility & contrast
On white
1.06
#FAF8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.77
#FAF8F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF8F2
19.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF8F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF8F2 | 1.00 | 1.06 | 19.77 | 19.77 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAF8F2
Deuteranopia (green-blind)
#FAF8F2
Tritanopia (blue-blind)
#FCF7F6
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #faf8f2; /* rgb */ color: rgb(250, 248, 242); /* oklch */ color: oklch(97.9% 0.008 91.5);
Tailwind
colors: {
custom: {
50: '#fcfaf6',
500: '#faf8f2',
950: '#000000',
},
}SCSS
$custom: #faf8f2; $custom-light: #fcfaf6; $custom-dark: #000000;
JSON
{
"hex": "#faf8f2",
"rgb": {
"r": 250,
"g": 248,
"b": 242
},
"hsl": {
"h": 45,
"s": 44.444,
"l": 96.471
},
"oklch": {
"l": 0.97901,
"c": 0.00821,
"h": 91.5
},
"luminance": 0.9387
}Semantic roles & 50–950 ramp
primary
#FAF8F2
secondary
#B7C0D9
accent
#50B82E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585