Ivory
Hex #FFFFF0, rgb(255 255 240). A white CSS named color.
Open in palette generatorIvory color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Ivory
Ivory is a very light near-white with the hex code #FFFFF0. In RGB it is made of 255 red, 255 green and 240 blue; in HSL its hue is 60°, with 100% saturation and 97% lightness. Its perceptual lightness (OKLCH L) is 99.6%.
It is a CSS named color, so you can write "ivory" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.01:1 and against black 20.81:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Ivory mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Ivory 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Ivory
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Contrast and readability
WCAG 2 contrast of Ivory with white and black. The readable text color on Ivory is black.
On white1.01:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 0
On black20.81:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -107
Test any pair in the contrast checker.
Color blindness preview
How Ivory appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#FFFEEF
- Deuteranopia#FFFEF0
- Tritanopia#FFFDFB
- Protanomaly#FFFEF0
- Deuteranomaly#FFFEF0
- Tritanomaly#FFFEF5
- Achromatopsia#FEFEFE
Colors similar to Ivory
The closest named colors by perceptual difference (OKLab).
Use Ivory in CSS and Tailwind
.ivory {
color: ivory; /* #FFFFF0 */
background-color: rgb(255 255 240);
border-color: oklch(99.6% 0.02 106.8);
}/* Tailwind CSS v4: bg-ivory-500, text-ivory-700... */
@theme {
--color-ivory-50: #FFFFF0;
--color-ivory-100: #F4F3D1;
--color-ivory-200: #E4E2A1;
--color-ivory-300: #CEC83D;
--color-ivory-400: #A9A300;
--color-ivory-500: #918B00;
--color-ivory-600: #7C7700;
--color-ivory-700: #646000;
--color-ivory-800: #504C00;
--color-ivory-900: #413E00;
--color-ivory-950: #191700;
}
<!-- or the exact color, no config -->
<div class="bg-[#FFFFF0] text-[#000000]">…</div>