CSS named color

FloralWhite #FFFAF0

floralwhite rgb(255, 250, 240)

FloralWhite is a near-white with the hex code #FFFAF0, which converts to rgb(255, 250, 240). Open #FFFAF0 in the converter to tweak it.

FloralWhite color values

HEX#FFFAF0
HEX (shorthand)—
RGBrgb(255, 250, 240)
RGBArgba(255, 250, 240, 1)
8-digit HEX#FFFAF0FF
HSLhsl(40, 100%, 97%)
HSV / HSB40°, 6%, 100%
CMYK0%, 2%, 6%, 0%
RGB 0–11, 0.98, 0.941
Decimal16775920
CSS keywordfloralwhite

How #FFFAF0 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: FF → 255, FA → 250, F0 → 240. That gives rgb(255, 250, 240). The step-by-step guide explains the math.

Shades of FloralWhite

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of FloralWhite

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of FloralWhite on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White FloralWhite 1.04:1Fail
Black FloralWhite 20.18:1AAA

Use black text on a floralwhite background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use FloralWhite in CSS

.element {
  color: floralwhite;                         /* keyword */
  background-color: #FFFAF0;            /* hex */
  border-color: rgb(255 250 240 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #FFFAF080 is FloralWhite at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for FloralWhite?

The CSS named color floralwhite is #FFFAF0 in hexadecimal. In CSS you can write color: floralwhite; or color: #FFFAF0; — both produce the same pixel.

What is FloralWhite in RGB?

FloralWhite is rgb(255, 250, 240): red 255, green 250, blue 240 on the 0–255 scale. As normalized 0–1 floats that is (1, 0.98, 0.941).

Is white or black text more readable on FloralWhite?

Black text is more readable. White on #FFFAF0 has a contrast ratio of 1.04:1 (Fail), black on #FFFAF0 has 20.18:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!