#F0F2DC#F0F2DC
#F0F2DC is a very light, muted yellow. Relative luminance 0.872; OKLCH L 95.4% C 0.029 H 111.2°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F2DC |
|---|---|
| RGB | rgb(240, 242, 220) |
| HSL | hsl(65, 46%, 91%) |
| HSV | hsv(65, 9%, 95%) |
| CMYK | cmyk(0.8%, 0%, 9.1%, 5.1%) |
| CIE-LAB | lab(94.82, -4.41, 10.39) |
| CIE-LCH | lch(94.82, 11.29, 113.00°) |
| OKLab | oklab(95.38% -0.0105 0.0271) |
| OKLCH | oklch(95.38% 0.029 111.2) |
| XYZ | xyz(80.6039, 87.1972, 80.2807) |
| Luminance | 0.8720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige
#F5F5DC
ΔE00 1.39
Off White (survey)
#FFFFE4
ΔE00 3.16
Lightyellow
#FFFFE0
ΔE00 3.87
Eggshell
#F0EAD6
ΔE00 4.04
Ivory
#FFFFF0
ΔE00 4.08
Cornsilk
#FFF8DC
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F2DC #DEDCF2
analogous
#F2E9DC #F0F2DC #E5F2DC
triadic
#F0F2DC #DCF0F2 #F2DCF0
tetradic
#F0F2DC #DCF2E9 #DEDCF2 #F2DCE5
square
#F0F2DC #DCF2E9 #DEDCF2 #F2DCE5
split-complementary
#F0F2DC #DCE5F2 #E9DCF2
monochromatic
#CAD183 #DDE1AF #F0F2DC #F5F7E9 #F5F7E9
Accessibility & contrast
On white
1.14
#F0F2DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.44
#F0F2DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F2DC
18.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F2DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F2DC | 1.00 | 1.14 | 18.44 | 18.44 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6F0DB
Deuteranopia (green-blind)
#F6F0DD
Tritanopia (blue-blind)
#F3EFEC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f0f2dc; /* rgb */ color: rgb(240, 242, 220); /* oklch */ color: oklch(95.4% 0.029 111.2);
Tailwind
colors: {
custom: {
50: '#f5f6e6',
500: '#f0f2dc',
950: '#000000',
},
}SCSS
$custom: #f0f2dc; $custom-light: #f5f6e6; $custom-dark: #000000;
JSON
{
"hex": "#f0f2dc",
"rgb": {
"r": 240,
"g": 242,
"b": 220
},
"hsl": {
"h": 65.455,
"s": 45.833,
"l": 90.588
},
"oklch": {
"l": 0.95377,
"c": 0.02906,
"h": 111.2
},
"luminance": 0.87197
}Semantic roles & 50–950 ramp
primary
#F0F2DC
secondary
#A7A3D0
accent
#2CB939
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584