#FAFAF4#FAFAF4
#FAFAF4 is a very light, near-neutral yellow. Relative luminance 0.952; OKLCH L 98.3% C 0.008 H 106.6°. Best body text is #000000 at 20.05:1 contrast (WCAG AA passes).
Color values
| HEX | #FAFAF4 |
|---|---|
| RGB | rgb(250, 250, 244) |
| HSL | hsl(60, 38%, 97%) |
| HSV | hsv(60, 2%, 98%) |
| CMYK | cmyk(0%, 0%, 2.4%, 2%) |
| CIE-LAB | lab(98.12, -1.04, 2.87) |
| CIE-LCH | lch(98.12, 3.05, 109.94°) |
| OKLab | oklab(98.35% -0.0022 0.0076) |
| OKLCH | oklch(98.35% 0.008 106.6) |
| XYZ | xyz(89.9365, 95.2270, 99.2130) |
| Luminance | 0.9523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off White
#FAF9F6
ΔE00 1.68
Floralwhite
#FFFAF0
ΔE00 2.62
Whitesmoke
#F5F5F5
ΔE00 3.18
White
#FFFFFF
ΔE00 3.23
Pale Grey
#FDFDFE
ΔE00 3.69
Ivory
#FFFFF0
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAFAF4 #F4F4FA
analogous
#FAF7F4 #FAFAF4 #F7FAF4
triadic
#FAFAF4 #F4FAFA #FAF4FA
tetradic
#FAFAF4 #F4FAF7 #F4F4FA #FAF4F7
square
#FAFAF4 #F4FAF7 #F4F4FA #FAF4F7
split-complementary
#FAFAF4 #F4F7FA #F7F4FA
monochromatic
#D4D4A0 #E7E7CA #F5F5EA #F5F5EA #F5F5EA
Accessibility & contrast
On white
1.05
#FAFAF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.05
#FAFAF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAFAF4
20.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAFAF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAFAF4 | 1.00 | 1.05 | 20.05 | 20.05 |
| #FFFFFF | 1.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBF9F4
Deuteranopia (green-blind)
#FBFAF4
Tritanopia (blue-blind)
#FBF9F8
Achromatopsia (no color)
#FAFAFA
Design tokens & code
CSS
--color: #fafaf4; /* rgb */ color: rgb(250, 250, 244); /* oklch */ color: oklch(98.3% 0.008 106.6);
Tailwind
colors: {
custom: {
50: '#fcfbf7',
500: '#fafaf4',
950: '#000000',
},
}SCSS
$custom: #fafaf4; $custom-light: #fcfbf7; $custom-dark: #000000;
JSON
{
"hex": "#fafaf4",
"rgb": {
"r": 250,
"g": 250,
"b": 244
},
"hsl": {
"h": 60,
"s": 37.5,
"l": 96.863
},
"oklch": {
"l": 0.98345,
"c": 0.0079,
"h": 106.6
},
"luminance": 0.95227
}Semantic roles & 50–950 ramp
primary
#FAFAF4
secondary
#BBBBD7
accent
#35B035
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585