#F5F5F5
whitesmoke
#F5F5F5 is a white colour. In RGB it is 245 red, 245 green and 245 blue, which converts to a hue of 0 degrees, 0% saturation and 96% lightness. It is one of the named CSS colours, written as whitesmoke in stylesheets.
Color values
| HEX | #F5F5F5 |
|---|---|
| RGB | rgb(245, 245, 245) |
| HSL | hsl(0, 0%, 96%) |
| HSV | hsv(0, 0%, 96%) |
| CMYK | cmyk(0%, 0%, 0%, 4%) |
Contrast and accessibility
Against white the contrast ratio is 1.09:1, and against black it is 19.26:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.09:1 | Fail | Fail |
| Black | 19.26:1 | AAA | AAA |
Tints and shades
Lighter tints move #F5F5F5 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #F5F5F5; |
|---|---|
| CSS rgb() | color: rgb(245 245 245); |
| Tailwind | bg-[#f5f5f5] |
| SwiftUI | Color(red: 0.961, green: 0.961, blue: 0.961) |
| Android | Color.parseColor("#F5F5F5") |