White Smoke Color

HEX #F5F5F5 · rgb(245, 245, 245) · hsl(0, 0%, 96%)

White Smoke color codes

White Smoke is one of the named colors every browser understands. In CSS you can write it as whitesmoke or #F5F5F5.

FormatValue
HEX#F5F5F5
RGBrgb(245, 245, 245)
HSLhsl(0, 0%, 96%)
CMYK0%, 0%, 0%, 4%
CSS namewhitesmoke
.example {
  color: whitesmoke;
  background-color: #F5F5F5;
  border-color: rgb(245, 245, 245);
}

Tints and shades of white smoke

Tints mix the color with white; shades mix it with black.

#FEFEFE90% white
#FDFDFD75% white
#FBFBFB60% white
#FAFAFA45% white
#F8F8F830% white
#F7F7F715% white
#F5F5F5Base
White Smoke
#D0D0D015% black
#ACACAC30% black
#87878745% black
#62626260% black
#3D3D3D75% black
#19191990% black

Contrast and readability

Black text
19.26:1
passes AA and AAA
White text
1.09:1
fails

Use black text on white smoke. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for white smoke?

The hex code for white smoke is #F5F5F5.

What is the RGB value of white smoke?

White Smoke is rgb(245, 245, 245): 245 red, 245 green and 245 blue on a 0 to 255 scale.

Does white smoke have a complementary color?

No. White Smoke has no hue, so it has no complement. It pairs with any color.

Should text on white smoke be black or white?

Use black text. The contrast ratio is 19.26:1 with black and 1.09:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.