#FBF8EF#FBF8EF
#FBF8EF is a very light, near-neutral yellow. Relative luminance 0.939; OKLCH L 97.9% C 0.012 H 91.5°. Best body text is #000000 at 19.78:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF8EF |
|---|---|
| RGB | rgb(251, 248, 239) |
| HSL | hsl(45, 60%, 96%) |
| HSV | hsv(45, 5%, 98%) |
| CMYK | cmyk(0%, 1.2%, 4.8%, 1.6%) |
| CIE-LAB | lab(97.58, -0.55, 4.67) |
| CIE-LCH | lch(97.58, 4.70, 96.66°) |
| OKLab | oklab(97.9% -0.0003 0.0123) |
| OKLCH | oklch(97.9% 0.012 91.5) |
| XYZ | xyz(88.9289, 93.8764, 95.0797) |
| Luminance | 0.9388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Floralwhite
#FFFAF0
ΔE00 1.05
Off White
#FAF9F6
ΔE00 2.77
Oldlace
#FDF5E6
ΔE00 2.95
Ivory
#FFFFF0
ΔE00 3.40
Linen
#FAF0E6
ΔE00 3.56
Seashell
#FFF5EE
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF8EF #EFF2FB
analogous
#FBF2EF #FBF8EF #F8FBEF
triadic
#FBF8EF #EFFBF8 #F8EFFB
tetradic
#FBF8EF #EFFBF2 #EFF2FB #FBEFF8
square
#FBF8EF #EFFBF2 #EFF2FB #FBEFF8
split-complementary
#FBF8EF #EFF8FB #F2EFFB
monochromatic
#E3CD8D #EFE3BE #F9F4E7 #F9F4E7 #F9F4E7
Accessibility & contrast
On white
1.06
#FBF8EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.78
#FBF8EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF8EF
19.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF8EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF8EF | 1.00 | 1.06 | 19.78 | 19.78 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAF7EF
Deuteranopia (green-blind)
#FBF8EF
Tritanopia (blue-blind)
#FDF6F5
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #fbf8ef; /* rgb */ color: rgb(251, 248, 239); /* oklch */ color: oklch(97.9% 0.012 91.5);
Tailwind
colors: {
custom: {
50: '#fcfaf4',
500: '#fbf8ef',
950: '#000000',
},
}SCSS
$custom: #fbf8ef; $custom-light: #fcfaf4; $custom-dark: #000000;
JSON
{
"hex": "#fbf8ef",
"rgb": {
"r": 251,
"g": 248,
"b": 239
},
"hsl": {
"h": 45,
"s": 60,
"l": 96.078
},
"oklch": {
"l": 0.97897,
"c": 0.0123,
"h": 91.5
},
"luminance": 0.93876
}Semantic roles & 50–950 ramp
primary
#FBF8EF
secondary
#B0BBDF
accent
#48C81E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585