#F5F5F5
whitesmoke
#F5F5F5 is the CSS named color "whitesmoke", an exact match. In RGB it breaks down to red 245, green 245, and blue 245 out of 255 each. In HSL terms that's a hue of 0°, 0% saturation, and 96% lightness: very light, close to white — it works best as a background with dark text on top, not as text on a light page.
Every format
| HEX | #f5f5f5 |
| RGB | rgb(245, 245, 245) |
| HSL | hsl(0° 0% 96%) |
| HSB | hsb(0° 0% 96%) |
| OKLCH | oklch(97% 0.000 0°) |
| OKLAB | oklab(97% 0.000 0.000) |
| LCH | lch(97% 0.0 0°) |
| CMYK | cmyk(0% 0% 0% 4%) |
Shades (darker)
#f5f5f5 · #dbdbdb · #c2c2c2 · #aaaaaa · #929292
Tints (lighter)
#f5f5f5 · #f6f6f6 · #f7f7f7 · #f8f8f8 · #f9f9f9
Shades mix #F5F5F5 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 1.09:1 — fails
On black: 19.26:1 — AAA
Frequently asked
- What is #F5F5F5 in RGB?
- #F5F5F5 is rgb(245, 245, 245) — red 245, green 245, blue 245 out of 255 each.
- Does #F5F5F5 pass WCAG contrast on a white background?
- It has a contrast ratio of 1.09:1 against white, which fails for normal text.
- What's a good background color to pair with #F5F5F5?
- Black text or a black background gives better contrast (19.26:1) than white (1.09:1).