#fffef2 ≈ Ivory
#fffef2 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 100% red, 99.61% green and 94.9% blue; printed in CMYK it uses 0% cyan, 0.39% magenta, 5.1% yellow and 0% black. Its hue angle is 55.38°, with 100% saturation and 97.45% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and soft pastel palettes. Black text on this color reaches a contrast ratio of 20.71:1 (WCAG AAA). The closest named color is Ivory (#fffff0), ΔE 1.4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffffff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.9855 |
Shades
#fffef2 mixed progressively with black.
Tints
#fffef2 mixed progressively with white.
Tones
#fffef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fffef2 {
color: #fffef2;
}
.bg-fffef2 {
background-color: #fffef2;
color: #000000;
}
.border-fffef2 {
border: 2px solid #fffef2;
}
:root {
--color-primary: #fffef2;
--color-primary-rgb: 255 254 242;
--color-primary-hsl: 55 100% 97%;
}
.gradient-fffef2 {
background: linear-gradient(135deg, #fffef2, #f9fff2);
}
.shadow-fffef2 {
box-shadow: 0 8px 24px rgb(255 254 242 / 0.35);
}
Ivory
#fffef2 rgb(255, 254, 242) hsl(55, 100%, 97%) Ivory
#f2f3ff rgb(242, 243, 255) hsl(235, 100%, 97%) Magnolia
#f2fffe rgb(242, 255, 254) hsl(175, 100%, 97%) Azure
#fef2ff rgb(254, 242, 255) hsl(295, 100%, 97%) Lavender Blush