#F8F2DF#F8F2DF
#F8F2DF is a very light, muted yellow. Relative luminance 0.888; OKLCH L 96.1% C 0.026 H 92.4°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F2DF |
|---|---|
| RGB | rgb(248, 242, 223) |
| HSL | hsl(46, 64%, 92%) |
| HSV | hsv(46, 10%, 97%) |
| CMYK | cmyk(0%, 2.4%, 10.1%, 2.7%) |
| CIE-LAB | lab(95.49, -1.16, 9.88) |
| CIE-LCH | lch(95.49, 9.95, 96.70°) |
| OKLab | oklab(96.08% -0.0011 0.0258) |
| OKLCH | oklch(96.08% 0.026 92.4) |
| XYZ | xyz(83.7814, 88.7892, 82.5221) |
| Luminance | 0.8879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Eggshell
#F0EAD6
ΔE00 1.75
Oldlace
#FDF5E6
ΔE00 2.28
Cornsilk
#FFF8DC
ΔE00 3.24
Ivory
#FFFFF0
ΔE00 3.76
Beige
#F5F5DC
ΔE00 3.81
Floralwhite
#FFFAF0
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F2DF #DFE5F8
analogous
#F8E6DF #F8F2DF #F2F8DF
triadic
#F8F2DF #DFF8F2 #F2DFF8
tetradic
#F8F2DF #DFF8E6 #DFE5F8 #F8DFF2
square
#F8F2DF #DFF8E6 #DFE5F8 #F8DFF2
split-complementary
#F8F2DF #DFF2F8 #E6DFF8
monochromatic
#E2C97B #EDDEAD #F8F2DF #FAF5E6 #FAF5E6
Accessibility & contrast
On white
1.12
#F8F2DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.76
#F8F2DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F2DF
18.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F2DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F2DF | 1.00 | 1.12 | 18.76 | 18.76 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7F1DE
Deuteranopia (green-blind)
#F8F3E0
Tritanopia (blue-blind)
#FDEFEC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f8f2df; /* rgb */ color: rgb(248, 242, 223); /* oklch */ color: oklch(96.1% 0.026 92.4);
Tailwind
colors: {
custom: {
50: '#faf6e9',
500: '#f8f2df',
950: '#000000',
},
}SCSS
$custom: #f8f2df; $custom-light: #faf6e9; $custom-dark: #000000;
JSON
{
"hex": "#f8f2df",
"rgb": {
"r": 248,
"g": 242,
"b": 223
},
"hsl": {
"h": 45.6,
"s": 64.103,
"l": 92.353
},
"oklch": {
"l": 0.96075,
"c": 0.02584,
"h": 92.4
},
"luminance": 0.88788
}Semantic roles & 50–950 ramp
primary
#F8F2DF
secondary
#A0AEDB
accent
#44CC1A
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171716
muted
#858584