#F5F2DF#F5F2DF
#F5F2DF is a very light, muted yellow. Relative luminance 0.882; OKLCH L 95.8% C 0.025 H 99.5°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F2DF |
|---|---|
| RGB | rgb(245, 242, 223) |
| HSL | hsl(52, 52%, 92%) |
| HSV | hsv(52, 9%, 96%) |
| CMYK | cmyk(0%, 1.2%, 9%, 3.9%) |
| CIE-LAB | lab(95.26, -2.20, 9.52) |
| CIE-LCH | lch(95.26, 9.77, 103.00°) |
| OKLab | oklab(95.84% -0.0042 0.0249) |
| OKLCH | oklch(95.84% 0.025 99.5) |
| XYZ | xyz(82.7260, 88.2450, 82.4726) |
| Luminance | 0.8824 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Eggshell
#F0EAD6
ΔE00 2.08
Beige
#F5F5DC
ΔE00 2.73
Ivory
#FFFFF0
ΔE00 3.17
Oldlace
#FDF5E6
ΔE00 3.39
Cornsilk
#FFF8DC
ΔE00 3.41
Off White (survey)
#FFFFE4
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F2DF #DFE2F5
analogous
#F5E7DF #F5F2DF #EDF5DF
triadic
#F5F2DF #DFF5F2 #F2DFF5
tetradic
#F5F2DF #DFF5E7 #DFE2F5 #F5DFED
square
#F5F2DF #DFF5E7 #DFE2F5 #F5DFED
split-complementary
#F5F2DF #DFEDF5 #E7DFF5
monochromatic
#D8CC82 #E6DFB0 #F5F2DF #F8F6E8 #F8F6E8
Accessibility & contrast
On white
1.13
#F5F2DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.65
#F5F2DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F2DF
18.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F2DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F2DF | 1.00 | 1.13 | 18.65 | 18.65 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6F1DE
Deuteranopia (green-blind)
#F7F2E0
Tritanopia (blue-blind)
#F9EFEC
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f5f2df; /* rgb */ color: rgb(245, 242, 223); /* oklch */ color: oklch(95.8% 0.025 99.5);
Tailwind
colors: {
custom: {
50: '#f8f6e9',
500: '#f5f2df',
950: '#000000',
},
}SCSS
$custom: #f5f2df; $custom-light: #f8f6e9; $custom-dark: #000000;
JSON
{
"hex": "#f5f2df",
"rgb": {
"r": 245,
"g": 242,
"b": 223
},
"hsl": {
"h": 51.818,
"s": 52.381,
"l": 91.765
},
"oklch": {
"l": 0.9584,
"c": 0.02524,
"h": 99.5
},
"luminance": 0.88244
}Semantic roles & 50–950 ramp
primary
#F5F2DF
secondary
#A4AAD5
accent
#3BC026
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171716
muted
#858584