Ivory color #FFFFF0
rgb(255, 255, 240) · oklch(99.6% 0.02 106.8)
Ivory (#FFFFF0) is a very light, grayish white. It mixes 100% red, 100% green and 94% blue, with a perceived lightness of 99.6% in OKLCH. Black text reads best on it (20.81:1 vs 1.00:1). The closest other CSS color is Floral White (#FFFAF0).
Ivory color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of ivory
Shades mix ivory with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Ivory as a UI color scale (50–950)
An 11-step scale for design systems, with ivory placed at step 50. Copy it as a Tailwind v4 theme below.
Colors that go with ivory
Harmonies are computed on the OKLCH hue wheel, keeping ivory’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is ivory accessible? Contrast with white and black
1.00:1
AA fail AA large fail AAA fail
20.81:1
AA pass AA large pass AAA pass
- As a background, ivory works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How ivory looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#fffeef Red-blind. Reds look dark and brownish; red and green are easily confused.
#fffef0 Green-blind, the most common strong form. Red, green, orange and brown look similar.
#fffdfb Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#fefefe Total color blindness, very rare. Only lightness differences are visible.
Colors similar to ivory
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use ivory in CSS and Tailwind
CSS custom properties
:root {
--ivory: #fffff0;
--ivory-rgb: 255 255 240;
}
.text-ivory { color: var(--ivory); }
.bg-ivory { background-color: var(--ivory); }
Tailwind v4 theme
@theme {
--color-ivory-50: #fffff0;
--color-ivory-100: #f0f0c9;
--color-ivory-200: #e1df9d;
--color-ivory-300: #cac664;
--color-ivory-400: #aca62d;
--color-ivory-500: #908a00;
--color-ivory-600: #777200;
--color-ivory-700: #5e5b11;
--color-ivory-800: #494718;
--color-ivory-900: #383718;
--color-ivory-950: #212010;
}
Make a gradient from ivory: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.