Swatchproof

White smoke #F5F5F5

White smoke is one of the named colours in CSS, written whitesmoke. Black text reaches 19.26:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordwhitesmoke
HEX#F5F5F5
RGBrgb(245 245 245)
HSLhsl(0 0% 96%)
OKLCHoklch(97.0% 0.000 0)
White text1.09:1 · body text AA Fail
Black text19.26:1 · body text AA Pass

Colours that go with White smoke

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is White (#FFFFFF), close. These are the colours Wada paired it with, ranked by their contrast with White smoke itself.

ColourHEXContrast with White smokeBody text AA
Old Rose#D46D7A3.07:1Fail

Palettes with White

Shades and tints of White smoke

Nine lightness steps in OKLCH that keep the hue of White smoke. Chroma is reduced only where sRGB cannot show it.

:root {
  --whitesmoke-100: #F5F5F5;
  --whitesmoke-200: #E4E4E4;
  --whitesmoke-300: #CECECE;
  --whitesmoke-400: #B1B1B1;
  --whitesmoke-500: #929292;
  --whitesmoke-600: #717171;
  --whitesmoke-700: #555555;
  --whitesmoke-800: #3A3A3A;
  --whitesmoke-900: #222222;
}

Text that keeps White smoke on screen

Text #222222 on #F5F5F5 reaches 14.59:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours