Floral White color (#FFFAF0)
Floral White is one of the 148 CSS named colors. Use the keyword floralwhite
anywhere CSS accepts a color, or its hex code #FFFAF0, which is rgb(255, 250, 240) in RGB.
It is a very light neutral and a perceived lightness of 99% in OKLCH. On a floral white background, black text gives the higher contrast at 20.18:1, which passes WCAG AA for normal text.
Floral White color codes
| CSS name | floralwhite |
|
|---|---|---|
| HEX | #FFFAF0 |
|
| HEX (8-digit) | #FFFAF0FF |
|
| RGB | rgb(255, 250, 240) |
|
| HSL | hsl(40, 100%, 97%) |
|
| HSV / HSB | hsv(40, 6%, 100%) |
|
| OKLCH | oklch(98.6% 0.0142 84.6) |
|
| CMYK | cmyk(0%, 2%, 5.9%, 0%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for floral white used as text and as a background.
Tints and shades of floral white
Tints mix floral white with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with floral white
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Floral White with color blindness
Approximately how floral white appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using floral white in CSS
.element {
color: floralwhite;
background-color: #fffaf0;
border-color: rgb(255 250 240 / 50%);
outline-color: oklch(98.6% 0.0142 84.6);
}Similar named colors
See all shades of white or browse every CSS color name.