White Smoke Color Code: Hex #F5F5F5
The hex code for White Smoke is #F5F5F5 (the CSS keyword whitesmoke). White Smoke RGB code: rgb(245, 245, 245).
#F5F5F5The same code in all 2 listsWhite Smoke color codes: the White Smoke hex code in every format
Sources
Properties
- Hex codes
- the same in all 2 color lists
- Family
- white
- Contrast
- 1.09:1 with white, 19.26:1 with black
- CSS keyword
- whitesmoke
- Character
- very light, near-neutral
- Readable text on it
- black (AA)
In the full X11 color file, the numbered gray Gray96 has exactly the same value as white smoke. Those numbered X11 grays follow a simple rule, rounding N percent of 255, which is why the 96th lands on this near-white.
A very light, almost neutral tint. In code, whitesmoke gives exactly this hex value. Every list that includes the name agrees on it, so there is only one code to remember.
Black text reads best on it; white text does not pass WCAG AA. Light versions fade to white quickly, so for backgrounds use it near full strength. Next to White, its closest named neighbour, it looks darker, about as saturated and neither warmer nor cooler; beside Snow it looks about as light, about as saturated and neither warmer nor cooler.
Colors that go with White Smoke
Complementary: the opposite of White Smoke
#F5F5F5Black text 19.26:1#F5F5F5Black text 19.26:1#F9F9F9Black text 19.95:1#989898Black text 7.28:1
Analogous
#F5F5F5Black text 19.26:1#F5F5F5Black text 19.26:1#F5F5F5Black text 19.26:1#FBFBFBBlack text 20.29:1
Triadic
#F5F5F5Black text 19.26:1#F5F5F5Black text 19.26:1#F5F5F5Black text 19.26:1#FCFCFCBlack text 20.47:1
Monochrome
#444444White text 9.74:1#989898Black text 7.28:1#F5F5F5Black text 19.26:1#F8F8F8Black text 19.77:1#FBFBFBBlack text 20.29:1
With neutrals
#F5F5F5Black text 19.26:1#FCFCFCBlack text 20.47:1#202020White text 16.29:1#A2A2A2Black text 8.23:1
Preview
Heading on White Smoke
Body text on this color, 19.26:1.
ButtonHeading in White Smoke
Text in this color on white, 1.09:1.
ButtonTints and shades
#FCFCFC#FBFBFB#F9F9F9#F8F8F8#F6F6F6#F5F5F5#C5C5C5#989898#6D6D6D#444444#202020
WhiteWhite SmokeBlack
Similar named colors
Where the name comes from
- Source: Wikipedia, “X11 color names” (checked 1 Nov 2026)
- Listed in CSS Color 4, meodai color-name-list. About these lists.
Try it: