#FBFBF2#FBFBF2
#FBFBF2 is a very light, near-neutral yellow. Relative luminance 0.959; OKLCH L 98.6% C 0.012 H 106.6°. Best body text is #000000 at 20.18:1 contrast (WCAG AA passes).
Color values
| HEX | #FBFBF2 |
|---|---|
| RGB | rgb(251, 251, 242) |
| HSL | hsl(60, 53%, 97%) |
| HSV | hsv(60, 4%, 98%) |
| CMYK | cmyk(0%, 0%, 3.6%, 1.6%) |
| CIE-LAB | lab(98.40, -1.55, 4.31) |
| CIE-LCH | lch(98.40, 4.58, 109.83°) |
| OKLab | oklab(98.56% -0.0034 0.0113) |
| OKLCH | oklch(98.56% 0.012 106.6) |
| XYZ | xyz(90.3054, 95.9146, 97.7431) |
| Luminance | 0.9591 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Floralwhite
#FFFAF0
ΔE00 2.36
Ivory
#FFFFF0
ΔE00 2.59
Off White
#FAF9F6
ΔE00 3.02
Oldlace
#FDF5E6
ΔE00 4.08
Mintcream
#F5FFFA
ΔE00 4.43
White
#FFFFFF
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBFBF2 #F2F2FB
analogous
#FBF7F2 #FBFBF2 #F7FBF2
triadic
#FBFBF2 #F2FBFB #FBF2FB
tetradic
#FBFBF2 #F2FBF7 #F2F2FB #FBF2F7
square
#FBFBF2 #F2FBF7 #F2F2FB #FBF2F7
split-complementary
#FBFBF2 #F2F7FB #F7F2FB
monochromatic
#DEDE94 #EDEDC3 #F8F8E8 #F8F8E8 #F8F8E8
Accessibility & contrast
On white
1.04
#FBFBF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.18
#FBFBF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBFBF2
20.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBFBF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBFBF2 | 1.00 | 1.04 | 20.18 | 20.18 |
| #FFFFFF | 1.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDFAF2
Deuteranopia (green-blind)
#FDFBF2
Tritanopia (blue-blind)
#FDFAF8
Achromatopsia (no color)
#FAFAFA
Design tokens & code
CSS
--color: #fbfbf2; /* rgb */ color: rgb(251, 251, 242); /* oklch */ color: oklch(98.6% 0.012 106.6);
Tailwind
colors: {
custom: {
50: '#fcfcf6',
500: '#fbfbf2',
950: '#000000',
},
}SCSS
$custom: #fbfbf2; $custom-light: #fcfcf6; $custom-dark: #000000;
JSON
{
"hex": "#fbfbf2",
"rgb": {
"r": 251,
"g": 251,
"b": 242
},
"hsl": {
"h": 60,
"s": 52.941,
"l": 96.667
},
"oklch": {
"l": 0.98563,
"c": 0.01183,
"h": 106.6
},
"luminance": 0.95914
}Semantic roles & 50–950 ramp
primary
#FBFBF2
secondary
#B4B4DD
accent
#25C025
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585