White color · CSS named color
White Smoke Color Code: #F5F5F5
The HEX code for White Smoke is #F5F5F5. It is a near-white shade color made of 245 red, 245 green and 245 blue (HSL 0°, 0%, 96%). Black text reads best on it (19.26:1 contrast).
White Smoke color values
#F5F5F5
rgb(245, 245, 245)
hsl(0, 0%, 96%)
0, 0%, 96%
hwb(0 96% 4%)
0%, 0%, 0%, 4%
16119285
whitesmoke
CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.
What is White Smoke?
White Smoke is one of the named colors defined by the CSS Color specifications (keyword “whitesmoke”), so every modern browser understands it without a hex code.
Its saturation is only 0%, so it behaves as a neutral, with 0% saturation (nearly neutral) and 96% lightness (very light). It has a neutral temperature.
Compared with the other white colors in the Aqeeb Studio library, it is lighter than 33% of them and more saturated than 0% of them.
Its relative luminance is 0.913, which makes it a very light color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.
White Smoke counts as a light color: its HSL lightness is 96% and its relative luminance is 0.913. Black text reads best on it (19.26:1 contrast).
Text contrast on White Smoke
| Text | Preview | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|---|
| White text | Sample text | 1.09:1 Poor | Fail | Fail | Fail | Fail |
| Black text | Sample text | 19.26:1 Excellent | Pass | Pass | Pass | Pass |
Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.
Colors that go with White Smoke
Complementary color
Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.
Analogous colors
Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.
Triadic colors
A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.
Split-complementary colors
Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.
Tetradic colors
A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.
Monochromatic variants
Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.
A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.
Tints and shades of White Smoke
Lighter tints (mixed with white)
Darker shades (mixed with black)
Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.
Similar colors
Where to use White Smoke
- Card, highlight and section backgrounds with dark text (19.26:1 contrast with black)
- Page backgrounds, subtle borders and table stripes
- Highlights and light borders
- Page and card backgrounds
- Whitespace-heavy minimal layouts
- Text on dark surfaces
White Smoke appears in these curated palettes: Slate and Steel (Blue Color Palettes), Moss and Stone (Green Color Palettes), Cool Grays (Neutral Color Palettes), Slate Dark UI (Dark Color Palettes), Mono and Green (Minimal Color Palettes), Dashboard (UI Color Palettes).
Use White Smoke in CSS
:root {
--color-white-smoke: #F5F5F5;
}
.element {
color: var(--color-white-smoke);
background-color: #F5F5F5;
border: 2px solid #F5F5F5;
}
Questions about White Smoke
What is the HEX code for White Smoke?
White Smoke is #F5F5F5.
What is the RGB value of White Smoke?
The RGB value of White Smoke is 245, 245, 245: 245 red, 245 green and 245 blue on a 0–255 scale, written rgb(245, 245, 245) in CSS.
What is the HSL value of White Smoke?
The HSL value of White Smoke is 0°, 0%, 96% (hue, saturation, lightness), written hsl(0, 0%, 96%) in CSS.
What is the CMYK value of White Smoke?
A standard conversion gives about C 0%, M 0%, Y 0%, K 4%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.
Is White Smoke a light or dark color?
White Smoke counts as a light color: its HSL lightness is 96% and its relative luminance is 0.913. Black text reads best on it (19.26:1 contrast).
How does White Smoke look with white text?
White text on White Smoke has a contrast ratio of 1.09:1, rated Poor. It falls below the WCAG minimum for text.
How does White Smoke look with black text?
Black text on White Smoke has a contrast ratio of 19.26:1, rated Excellent. It meets WCAG AA for normal text.
What colors go well with White Smoke?
Snow is its complementary color, and Snow sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.
Where can White Smoke be used?
It suits card, highlight and section backgrounds with dark text (19.26:1 contrast with black); page backgrounds, subtle borders and table stripes; highlights and light borders.
How do I use White Smoke in CSS?
Use color: #F5F5F5; for text, background-color: #F5F5F5; for fills, or define a custom property such as --color-white-smoke: #F5F5F5; and reuse it with var(--color-white-smoke).
About this color page
CSS named color (W3C CSS Color Module). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.