White Smoke Color Code (#f5f5f5)

White Smoke is #f5f5f5 in hex and rgb(245, 245, 245) — a very light white. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

White Smoke
#f5f5f5
CSS namewhitesmoke
Hex#f5f5f5
RGBrgb(245, 245, 245)
HSLhsl(0 0% 96%)
HWBhwb(0 96% 4%)
CMYK0%, 0%, 0%, 4%

Tints and shades

About White Smoke

White Smoke (whitesmoke) is a very light, muted white with the hex code #f5f5f5, or rgb(245, 245, 245). In HSL it sits at a hue of 0°, 0% saturation and 96% lightness. It is one of the 148 named colors every browser understands, so you can write color: whitesmoke; instead of the hex value.

Using White Smoke for text and backgrounds

PairingContrast ratioWCAG
White Smoke text on white1.09 : 1fails
White Smoke text on black19.26 : 1AAA

On a white smoke background, use black text (19.26 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: whitesmoke;               /* or #f5f5f5 */
  background-color: #f5f5f5;
  border: 1px solid rgb(245 245 245 / 50%);
}

Similar named colors

Ghost White (#f8f8ff), Lavender Blush (#fff0f5), Mint Cream (#f5fffa), Alice Blue (#f0f8ff), Sea Shell (#fff5ee), Floral White (#fffaf0).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for white smoke?
#f5f5f5 — that is rgb(245, 245, 245) and hsl(0, 0%, 96%). In CSS you can also just write whitesmoke.
Is white smoke text readable on white?
Its contrast ratio on white is 1.09 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with white smoke?
White Smoke is a neutral, so it pairs with almost any color; use it for backgrounds, borders and text around a stronger accent.