#FFFFFF color codes
- HEX
- #FFFFFF
- HEX8
- #FFFFFFFF
- HEX8 (Android)
- #FFFFFFFF
- RGB
- rgb(255, 255, 255)
- RGB (%)
- 100%, 100%, 100%
- HSL
- hsl(0, 0%, 100%)
- HSV / HSB
- hsv(0, 0%, 100%)
- CMYK
- cmyk(0%, 0%, 0%, 0%)
- OKLCH
- oklch(1 0 0)
- OKLCH (%)
- oklch(100% 0 0)
- Decimal
- 16777215
What color is #FFFFFF?
#FFFFFF sits at 100% lightness and 0 chroma in OKLCH, hue 0°. Its nearest named color is White (an exact match).
Shades and tints of #FFFFFF
Tints
Shades
Tones
#FFFFFF color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #FFFFFF in CSS
.text { color: #FFFFFF; }
.background { background-color: #FFFFFF; }
.border { border: 2px solid #FFFFFF; }
/* Modern, perceptually uniform */
.text { color: oklch(1 0 0); }
/* #FFFFFF at 50% transparency */
.overlay { background-color: #FFFFFF80; }Is #FFFFFF accessible?
#FFFFFF on white text scores 1.00:1; on black text it scores 21.00:1. Black text passes WCAG AAA on #FFFFFF. Recommended text color on a #FFFFFF background: black.
A 21:1 vs black
A 1: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(#FFFFFF) → black APCA Lc experimental 106 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 #FFFFFF?
- #FFFFFF is White. In RGB it is rgb(255, 255, 255), and in HSL hsl(0, 0%, 100%).
- What is #FFFFFF in RGB?
- #FFFFFF converts to rgb(255, 255, 255) — red 255, green 255, blue 255.
- What text color is readable on #FFFFFF?
- Black text — it has the higher contrast ratio (21.00:1) against #FFFFFF. Black text passes WCAG AAA on #FFFFFF.