Inspect FloralWhite (#FFFAF0) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
FloralWhite
#FFFAF0
Black text reads best on this background, at 20.18:1.
FloralWhite is one of the 148 CSS named colors, and resolves to #FFFAF0 in every browser. In numbers that is rgb(255, 250, 240) and hsl(40, 100%, 97%). Perceptually it is a very light, near-neutral color: OKLCH puts its lightness at 99% and its chroma at 0.014. It carries almost no chroma, so it behaves as a neutral rather than as a hue, and belongs with the off-whites.
White text only reaches 1.04:1 here, so black text is the safer pairing at 20.18:1. Because it is this light, FloralWhite works best as a page or card background with dark text over it.
The closest CSS named colors to FloralWhite, measured with CIEDE2000, are OldLace (#FDF5E6), Linen (#FAF0E6), SeaShell (#FFF5EE). If FloralWhite is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FFFAF0
RGB
rgb(255, 250, 240)
HSL
hsl(40, 100%, 97%)
HWB
hwb(40 94% 0%)
CMYK
cmyk(0%, 2%, 6%, 0%)
LAB
lab(98.46 0.46 5.43)
LCH
lch(98.46 5.45 85.16)
OKLCH
oklch(98.62% 0.0142 84.58)
WCAG asks for 4.5:1 between body text and its background. On #FFFAF0 white text measures 1.04:1 and black text 20.18:1, so black clears it and white does not.
White text on FloralWhite
WCAG 2.2
1.04:1
APCA
Lc 0
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on FloralWhite
WCAG 2.2
20.18:1
APCA
Lc 103
Passes AA body text
Passes AAA body text
Passes AA large text
Check FloralWhite against any other color in the contrast checker.
FloralWhite sits at 99% OKLCH lightness. Holding its hue and chroma and moving only that value carries it down to #080502, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#C6C1B8
20% darker
#908C83
40% darker
#5E5951
60% darker
#2F2C24
80% darker
#080502
100% darker
Build a full accessible scale from #FFFAF0 in the shade generator.
The biggest shift is under tritanopia, where #FFFAF0 reads as #FFF8F7, 4.9 CIEDE2000 units away. If FloralWhite is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#FDFAEF
Deuteranopia
#FEFBF0
Tritanopia
#FFF8F7
Achromatopsia
#FAFAFA
The nearest CSS keywords to #FFFAF0, ranked by perceptual distance rather than by how close their hex digits happen to look.