#F5F5F5 color (whitesmoke)

#F5F5F5 is rgb(245, 245, 245) in RGB and hsl(0, 0%, 96%) in HSL. It is exactly the CSS color whitesmoke. Use black text on it (contrast 19.26:1).

#F5F5F5whitesmoke
HEX#F5F5F5
RGBrgb(245, 245, 245)
RGB percentrgb(96.1%, 96.1%, 96.1%)
HSLhsl(0, 0%, 96%)
HSV / HSBhsv(0, 0%, 96%)
CMYKcmyk(0%, 0%, 0%, 4%)
CIELAB (D65)lab(96.5 0 0)

Edit in the color converter → · Check contrast → · Shades →

About #F5F5F5

#F5F5F5 is a very pale, neutral gray. It belongs to the white family and reads as a neutral color. All three channels are equal (245), so it is a pure gray at 96.1% brightness with no hue at all. Colors like this are typically used for page backgrounds, cards and subtle section fills.

Color conversions

HEX#F5F5F5
RGBrgb(245, 245, 245)
RGB percentrgb(96.1%, 96.1%, 96.1%)
HSLhsl(0, 0%, 96%)
HSV / HSBhsv(0, 0%, 96%)
CMYKcmyk(0%, 0%, 0%, 4%)
CIELAB (D65)lab(96.5 0 0)
Decimal16119285
Binary11110101 11110101 11110101

HEX F5 F5 F5 → 245, 245, 245 (each pair is a base-16 number: F×16 + 5 = 245)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #F5F5F5

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #F5F5F5RatioAA normalAA largeAAA normalAAA large
White text1.09:1FailFailFailFail
Black text19.26:1PassPassPassPass
White text on #F5F5F5
Black text on #F5F5F5
#F5F5F5 text on white
#F5F5F5 text on black

Relative luminance is 0.9131 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#f5f5f5

Deuteranopia
#f5f5f5

Tritanopia
#f5f5f5

Achromatopsia
#f5f5f5

People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
whitesmoke#f5f5f50
white#ffffff2
snow#fffafa2.7
ghostwhite#f8f8ff3.6

CSS

.element {
  color: #f5f5f5;
  background-color: rgb(245, 245, 245);
  border: 1px solid hsl(0, 0%, 96%);
  box-shadow: 0 2px 8px rgb(245 245 245 / 50%);
}
:root { --brand: #f5f5f5; }

Frequently asked questions

What color is #F5F5F5?
A very pale neutral gray in the white family. Closest CSS name: whitesmoke.
What is #F5F5F5 in RGB?
rgb(245, 245, 245): red 245, green 245, blue 245.
What is the complementary color of #F5F5F5?
#F5F5F5, found by rotating the hue 180°.