#fef8e7 ≈ Cosmic Latte
#fef8e7 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 99.61% red, 97.25% green and 90.59% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 9.06% yellow and 0.39% black. Its hue angle is 44.35°, with 92% saturation and 95.1% 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 19.8:1 (WCAG AAA). The closest named color is Cosmic Latte (#fff8e7), ΔE 0.48.
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.9398 |
Shades
#fef8e7 mixed progressively with black.
Tints
#fef8e7 mixed progressively with white.
Tones
#fef8e7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef8e7 {
color: #fef8e7;
}
.bg-fef8e7 {
background-color: #fef8e7;
color: #000000;
}
.border-fef8e7 {
border: 2px solid #fef8e7;
}
:root {
--color-primary: #fef8e7;
--color-primary-rgb: 254 248 231;
--color-primary-hsl: 44 92% 95%;
}
.gradient-fef8e7 {
background: linear-gradient(135deg, #fef8e7, #f9fee7);
}
.shadow-fef8e7 {
box-shadow: 0 8px 24px rgb(254 248 231 / 0.35);
}
Cosmic Latte
#fef8e7 rgb(254, 248, 231) hsl(44, 92%, 95%) Cosmic Latte
#e7edfe rgb(231, 237, 254) hsl(224, 92%, 95%) Lavender
#e7fef8 rgb(231, 254, 248) hsl(164, 92%, 95%) Light Cyan
#f8e7fe rgb(248, 231, 254) hsl(284, 92%, 95%) Lavender