CSS named color
Ivory #FFFFF0
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) | — |
| RGB | rgb(255, 255, 240) |
| RGBA | rgba(255, 255, 240, 1) |
| 8-digit HEX | #FFFFF0FF |
| HSL | hsl(60, 100%, 97%) |
| HSV / HSB | 60°, 6%, 100% |
| CMYK | 0%, 0%, 6%, 0% |
| RGB 0–1 | 1, 1, 0.941 |
| Decimal | 16777200 |
| CSS keyword | ivory |
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
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | Ivory | 1.00:1 | Fail |
| Black | Ivory | 20.81:1 | AAA |
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.