#F5F5F5 color codes
- HEX
- #F5F5F5
- HEX8
- #F5F5F5FF
- HEX8 (Android)
- #FFF5F5F5
- RGB
- rgb(245, 245, 245)
- RGB (%)
- 96%, 96%, 96%
- HSL
- hsl(0, 0%, 96%)
- HSV / HSB
- hsv(0, 0%, 96%)
- CMYK
- cmyk(0%, 0%, 0%, 4%)
- OKLCH
- oklch(0.9702 0 0)
- OKLCH (%)
- oklch(97.02% 0 0)
- Decimal
- 16119285
What color is #F5F5F5?
#F5F5F5 sits at 97% lightness and 0 chroma in OKLCH, hue 0°. Its nearest named color is WhiteSmoke (an exact match).
Shades and tints of #F5F5F5
Tints
Shades
Tones
#F5F5F5 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #F5F5F5 in CSS
.text { color: #F5F5F5; }
.background { background-color: #F5F5F5; }
.border { border: 2px solid #F5F5F5; }
/* Modern, perceptually uniform */
.text { color: oklch(0.9702 0 0); }
/* #F5F5F5 at 50% transparency */
.overlay { background-color: #F5F5F580; }Is #F5F5F5 accessible?
#F5F5F5 on white text scores 1.09:1; on black text it scores 19.26:1. Black text passes WCAG AAA on #F5F5F5. Recommended text color on a #F5F5F5 background: black.
A 19.26:1 vs black
A 1.09:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: black
CSS
contrast-color() contrast-color(#F5F5F5) → black APCA Lc experimental 100.1 Lc · body text — preferred (black text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: White #FFFFFF. See more in the white family on the colors hub.
Frequently asked questions
- What color is #F5F5F5?
- #F5F5F5 is WhiteSmoke. In RGB it is rgb(245, 245, 245), and in HSL hsl(0, 0%, 96%).
- What is #F5F5F5 in RGB?
- #F5F5F5 converts to rgb(245, 245, 245) — red 245, green 245, blue 245.
- What text color is readable on #F5F5F5?
- Black text — it has the higher contrast ratio (19.26:1) against #F5F5F5. Black text passes WCAG AAA on #F5F5F5.