Floral White
Hex #FFFAF0, rgb(255 250 240). A white CSS named color.
Open in palette generatorFloral White color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Floral White
Floral White is a very light near-white with the hex code #FFFAF0. In RGB it is made of 255 red, 250 green and 240 blue; in HSL its hue is 40°, with 100% saturation and 97% lightness. Its perceptual lightness (OKLCH L) is 98.6%.
It is a CSS named color, so you can write "floralwhite" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.04:1 and against black 20.18:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Floral White mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Floral White 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Floral White
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Analogous
Split complementary
Monochromatic
Contrast and readability
WCAG 2 contrast of Floral White with white and black. The readable text color on Floral White is black.
On white1.04:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 0
On black20.18:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -105
Test any pair in the contrast checker.
Color blindness preview
How Floral White appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#FDFAEF
- Deuteranopia#FEFBF0
- Tritanopia#FFF8F7
- Protanomaly#FDFAF0
- Deuteranomaly#FEFBF0
- Tritanomaly#FFF9F3
- Achromatopsia#FAFAFA
Colors similar to Floral White
The closest named colors by perceptual difference (OKLab).
Use Floral White in CSS and Tailwind
.floral-white {
color: floralwhite; /* #FFFAF0 */
background-color: rgb(255 250 240);
border-color: oklch(98.6% 0.014 84.6);
}/* Tailwind CSS v4: bg-floral-white-500, text-floral-white-700... */
@theme {
--color-floral-white-50: #FFFAF0;
--color-floral-white-100: #F8EDD6;
--color-floral-white-200: #EED9AE;
--color-floral-white-300: #E1BA67;
--color-floral-white-400: #C49300;
--color-floral-white-500: #A97E00;
--color-floral-white-600: #916B00;
--color-floral-white-700: #755600;
--color-floral-white-800: #5E4400;
--color-floral-white-900: #4C3700;
--color-floral-white-950: #1F1400;
}
<!-- or the exact color, no config -->
<div class="bg-[#FFFAF0] text-[#000000]">…</div>