CSS named color

Ivory #FFFFF0

ivory rgb(255, 255, 240)

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

Ivory color values

HEX#FFFFF0
HEX (shorthand)—
RGBrgb(255, 255, 240)
RGBArgba(255, 255, 240, 1)
8-digit HEX#FFFFF0FF
HSLhsl(60, 100%, 97%)
HSV / HSB60°, 6%, 100%
CMYK0%, 0%, 6%, 0%
RGB 0–11, 1, 0.941
Decimal16777200
CSS keywordivory

How #FFFFF0 converts to RGB

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

Shades of Ivory

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

Tints of Ivory

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Ivory 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 Ivory 1.00:1Fail
Black Ivory 20.81:1AAA

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

Use Ivory in CSS

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

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

Similar named colors

FAQ

What is the HEX code for Ivory?

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

What is Ivory in RGB?

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

Is white or black text more readable on Ivory?

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

Copied!