#f8fef2 ≈ Ivory
#f8fef2 is a color from the yellow-green family, with very high lightness and muted saturation. In the RGB model it is made of 97.25% red, 99.61% green and 94.9% blue; printed in CMYK it uses 2.36% cyan, 0% magenta, 4.72% yellow and 0.39% black. Its hue angle is 90°, with 85.71% saturation and 97.25% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and soft pastel palettes. Black text on this color reaches a contrast ratio of 20.45:1 (WCAG AAA). The closest named color is Ivory (#fffff0), ΔE 2.72.
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.9725 |
Shades
#f8fef2 mixed progressively with black.
Tints
#f8fef2 mixed progressively with white.
Tones
#f8fef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8fef2 {
color: #f8fef2;
}
.bg-f8fef2 {
background-color: #f8fef2;
color: #000000;
}
.border-f8fef2 {
border: 2px solid #f8fef2;
}
:root {
--color-primary: #f8fef2;
--color-primary-rgb: 248 254 242;
--color-primary-hsl: 90 86% 97%;
}
.gradient-f8fef2 {
background: linear-gradient(135deg, #f8fef2, #f2fef2);
}
.shadow-f8fef2 {
box-shadow: 0 8px 24px rgb(248 254 242 / 0.35);
}
Ivory
#f8fef2 rgb(248, 254, 242) hsl(90, 86%, 97%) Ivory
#f8f2fe rgb(248, 242, 254) hsl(270, 86%, 97%) Magnolia
#f2f8fe rgb(242, 248, 254) hsl(210, 86%, 97%) Alice Blue
#fef2f8 rgb(254, 242, 248) hsl(330, 86%, 97%) Lavender Blush