Ivory #FFFFF0
Ivory is one of the named colours in CSS, written ivory. Black text reaches 20.81:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | ivory |
|---|---|
| HEX | #FFFFF0 |
| RGB | rgb(255 255 240) |
| HSL | hsl(60 100% 97%) |
| OKLCH | oklch(99.6% 0.020 106.8) |
| White text | 1.01:1 · body text AA Fail |
| Black text | 20.81:1 · body text AA Pass |
Colours that go with Ivory
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is White (#FFFFFF), close. These are the colours Wada paired it with, ranked by their contrast with Ivory itself.
| Colour | HEX | Contrast with Ivory | Body text AA |
|---|---|---|---|
| Old Rose | #D46D7A | 3.32:1 | Fail |
Palettes with White
Shades and tints of Ivory
Nine lightness steps in OKLCH that keep the hue of Ivory. Chroma is reduced only where sRGB cannot show it.
- 100#F6F6E7
- 200#E6E6D7
- 300#CFCFC0
- 400#B2B2A4
- 500#939386
- 600#737366
- 700#56564A
- 800#3B3B30
- 900#232217
:root {
--ivory-100: #F6F6E7;
--ivory-200: #E6E6D7;
--ivory-300: #CFCFC0;
--ivory-400: #B2B2A4;
--ivory-500: #939386;
--ivory-600: #737366;
--ivory-700: #56564A;
--ivory-800: #3B3B30;
--ivory-900: #232217;
}
Text that keeps Ivory on screen
Text #232217 on #FFFFF0 reaches 15.86:1, which passes WCAG AA for body text. Check it on a dashboard