White color: hex code #FFFFFF
White has the hex code #FFFFFF. It is a white.
In the RGB color model it is made of 100% red, 100% green and 100% blue (255, 255, 255).
Its hue angle is 0°, with 0% saturation and 100% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 0% black.
You can use it in CSS with the keyword white.
Black text is the more readable choice on this background (contrast 21:1).
White (#FFFFFF) color codes
| HEX | #FFFFFF | |
|---|---|---|
| RGB | rgb(255, 255, 255) | |
| RGB percent | rgb(100%, 100%, 100%) | |
| HSL | hsl(0, 0%, 100%) | |
| HSV / HSB | hsv(0, 0%, 100%) | |
| CMYK | cmyk(0%, 0%, 0%, 0%) | |
| CIE LAB | lab(100, 0, 0) | |
| CIE LCH | lch(100, 0, 158.2) | |
| CIE XYZ | xyz(95.047, 100, 108.883) | |
| Decimal | 16777215 | |
| Short hex | #FFF |
Color harmonies
Colors that go with White, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFFFFF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 21:1 | Pass | Pass | Pass |
| Sample text | 1:1 | Fail | Fail | Fail |
| #FFFFFF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1:1 | Fail | Fail | Fail |
| Sample text | 21:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #FFFFFF looks to people with the most common types of color vision deficiency.
#ffffffProtanopia
no red cones#ffffffDeuteranopia
no green cones#ffffffTritanopia
no blue cones#ffffffAchromatopsia
no color vision
CSS examples
.background { background-color: #ffffff; }
.text { color: #ffffff; }
.border { border: 2px solid #ffffff; }
.transparent { background-color: rgb(255 255 255 / 50%); }
.gradient { background: linear-gradient(to right, #ffffff, #ffffff); }
Similar colors
#fdfdfdBrilliance#fcfdfcEmptiness#fafafaDr. White#f9f9f9Doctor#fcffffPolar Bear in a Blizzard#fefdfaLotion#faf9f6Off White#f5f5f5White Smoke
See #FFFFFF on its hex code page
Questions
- What color is #FFFFFF?
- #FFFFFF is a white known as White. It belongs to the white family of colors.
- What is the RGB value of White?
- The RGB value is 255, 255, 255: 255 red, 255 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of White?
- The complementary color is #FFFFFF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFFFFF?
- Black text. Black text has a contrast ratio of 21:1 and white text 1:1. WCAG asks for at least 4.5:1 for normal text.