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 keyword | whitesmoke |
|---|---|
| HEX | #F5F5F5 |
| RGB | rgb(245 245 245) |
| HSL | hsl(0 0% 96%) |
| OKLCH | oklch(97.0% 0.000 0) |
| White text | 1.09:1 · body text AA Fail |
| Black text | 19.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.
| Colour | HEX | Contrast with White smoke | Body text AA |
|---|---|---|---|
| Old Rose | #D46D7A | 3.07:1 | Fail |
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.
- 100#F5F5F5
- 200#E4E4E4
- 300#CECECE
- 400#B1B1B1
- 500#929292
- 600#717171
- 700#555555
- 800#3A3A3A
- 900#222222
: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