#FAF8EF#FAF8EF
#FAF8EF is a very light, near-neutral yellow. Relative luminance 0.937; OKLCH L 97.8% C 0.012 H 96.4°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF8EF |
|---|---|
| RGB | rgb(250, 248, 239) |
| HSL | hsl(49, 52%, 96%) |
| HSV | hsv(49, 4%, 98%) |
| CMYK | cmyk(0%, 0.8%, 4.4%, 2%) |
| CIE-LAB | lab(97.51, -0.88, 4.55) |
| CIE-LCH | lch(97.51, 4.63, 100.98°) |
| OKLab | oklab(97.82% -0.0013 0.012) |
| OKLCH | oklch(97.82% 0.012 96.4) |
| XYZ | xyz(88.5695, 93.6911, 95.0628) |
| Luminance | 0.9369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Floralwhite
#FFFAF0
ΔE00 1.50
Off White
#FAF9F6
ΔE00 2.79
Ivory
#FFFFF0
ΔE00 3.13
Oldlace
#FDF5E6
ΔE00 3.25
Linen
#FAF0E6
ΔE00 4.01
Whitesmoke
#F5F5F5
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF8EF #EFF1FA
analogous
#FAF2EF #FAF8EF #F6FAEF
triadic
#FAF8EF #EFFAF8 #F8EFFA
tetradic
#FAF8EF #EFFAF2 #EFF1FA #FAEFF6
square
#FAF8EF #EFFAF2 #EFF1FA #FAEFF6
split-complementary
#FAF8EF #EFF6FA #F2EFFA
monochromatic
#DDCF92 #EBE4C0 #F8F5E8 #F8F5E8 #F8F5E8
Accessibility & contrast
On white
1.06
#FAF8EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.74
#FAF8EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF8EF
19.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF8EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF8EF | 1.00 | 1.06 | 19.74 | 19.74 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAF7EF
Deuteranopia (green-blind)
#FBF8EF
Tritanopia (blue-blind)
#FCF7F5
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #faf8ef; /* rgb */ color: rgb(250, 248, 239); /* oklch */ color: oklch(97.8% 0.012 96.4);
Tailwind
colors: {
custom: {
50: '#fcfaf4',
500: '#faf8ef',
950: '#000000',
},
}SCSS
$custom: #faf8ef; $custom-light: #fcfaf4; $custom-dark: #000000;
JSON
{
"hex": "#faf8ef",
"rgb": {
"r": 250,
"g": 248,
"b": 239
},
"hsl": {
"h": 49.091,
"s": 52.381,
"l": 95.882
},
"oklch": {
"l": 0.9782,
"c": 0.01206,
"h": 96.4
},
"luminance": 0.93691
}Semantic roles & 50–950 ramp
primary
#FAF8EF
secondary
#B2B9DB
accent
#42C026
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585