Ivory
ivory is a CSS color keyword. The closest Tailwind step is amber-50 (#fffbeb).
#fffff0rgb(255, 255, 240)
- Hex
- #fffff0
- RGB
- 255, 255, 240
- HSL
- 60°, 100%, 97%
- OKLCH
- 99.6% 0.020 106.8
- LAB
- 99.6 -2.6 7.2
Text contrast
Black or white text on #fffff0. AA needs 4.5:1 and AAA needs 7:1. APCA Lc is a separate readability score.
Color vision
How #fffff0 looks in simulations of color blindness, at full severity.
#fffff0
#fffeef
#fffef0
#fffdfb
Tonal scale
An OKLCH ramp that keeps this hue. The marked step is the closest lightness to ivory.
Copy into CSS
color: ivory;
background: #fffff0;
@theme {
--color-ivory-50: #f6f6e7;
--color-ivory-100: #e9e9da;
--color-ivory-200: #d2d2c4;
--color-ivory-300: #b5b5a7;
--color-ivory-400: #99998c;
--color-ivory-500: #7b7b6e;
--color-ivory-600: #616155;
--color-ivory-700: #4b4b3f;
--color-ivory-800: #36362b;
--color-ivory-900: #232217;
--color-ivory-950: #0e0e05;
}