Color codes
- HEX
- #f5f5f5
- RGB
- rgb(245, 245, 245)
- HSL
- hsl(0 0% 96%)
- CMYK
- cmyk(0% 0% 0% 4%)
- OKLCH
- oklch(97% 0 0)
CSS named color
rgb(245, 245, 245)
1.09:1 on white
Fails WCAG AA
19.26:1 on black
AAA for normal and large text
whitesmoke is written as #f5f5f5 in hex, rgb(245, 245, 245) in RGB and hsl(0 0% 96%) in HSL. Its lightness sits at 96%, which is why it reads fails wcag aa against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.