#FAFAF2#FAFAF2
#FAFAF2 is a very light, near-neutral yellow. Relative luminance 0.951; OKLCH L 98.3% C 0.011 H 106.6°. Best body text is #000000 at 20.02:1 contrast (WCAG AA passes).
Color values
| HEX | #FAFAF2 |
|---|---|
| RGB | rgb(250, 250, 242) |
| HSL | hsl(60, 44%, 96%) |
| HSV | hsv(60, 3%, 98%) |
| CMYK | cmyk(0%, 0%, 3.2%, 2%) |
| CIE-LAB | lab(98.08, -1.38, 3.83) |
| CIE-LCH | lch(98.08, 4.07, 109.87°) |
| OKLab | oklab(98.29% -0.003 0.0101) |
| OKLCH | oklch(98.29% 0.011 106.6) |
| XYZ | xyz(89.6345, 95.1062, 97.6224) |
| Luminance | 0.9511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Floralwhite
#FFFAF0
ΔE00 2.36
Off White
#FAF9F6
ΔE00 2.58
Ivory
#FFFFF0
ΔE00 3.07
Whitesmoke
#F5F5F5
ΔE00 4.07
White
#FFFFFF
ΔE00 4.12
Oldlace
#FDF5E6
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAFAF2 #F2F2FA
analogous
#FAF6F2 #FAFAF2 #F6FAF2
triadic
#FAFAF2 #F2FAFA #FAF2FA
tetradic
#FAFAF2 #F2FAF6 #F2F2FA #FAF2F6
square
#FAFAF2 #F2FAF6 #F2F2FA #FAF2F6
split-complementary
#FAFAF2 #F2F6FA #F6F2FA
monochromatic
#D8D89A #E9E9C6 #F6F6E9 #F6F6E9 #F6F6E9
Accessibility & contrast
On white
1.05
#FAFAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.02
#FAFAF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAFAF2
20.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAFAF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAFAF2 | 1.00 | 1.05 | 20.02 | 20.02 |
| #FFFFFF | 1.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCF9F2
Deuteranopia (green-blind)
#FCFAF2
Tritanopia (blue-blind)
#FBF9F8
Achromatopsia (no color)
#F9F9F9
Design tokens & code
CSS
--color: #fafaf2; /* rgb */ color: rgb(250, 250, 242); /* oklch */ color: oklch(98.3% 0.011 106.6);
Tailwind
colors: {
custom: {
50: '#fcfbf6',
500: '#fafaf2',
950: '#000000',
},
}SCSS
$custom: #fafaf2; $custom-light: #fcfbf6; $custom-dark: #000000;
JSON
{
"hex": "#fafaf2",
"rgb": {
"r": 250,
"g": 250,
"b": 242
},
"hsl": {
"h": 60,
"s": 44.444,
"l": 96.471
},
"oklch": {
"l": 0.98291,
"c": 0.01053,
"h": 106.6
},
"luminance": 0.95106
}Semantic roles & 50–950 ramp
primary
#FAFAF2
secondary
#B7B7D9
accent
#2EB82E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585