#fef6df ≈ Cornsilk
#fef6df 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, 96.47% green and 87.45% blue; printed in CMYK it uses 0% cyan, 3.15% magenta, 12.2% yellow and 0.39% black. Its hue angle is 44.52°, with 93.94% saturation and 93.53% 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.46:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffffcc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.9231 |
Shades
#fef6df mixed progressively with black.
Tints
#fef6df mixed progressively with white.
Tones
#fef6df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef6df {
color: #fef6df;
}
.bg-fef6df {
background-color: #fef6df;
color: #000000;
}
.border-fef6df {
border: 2px solid #fef6df;
}
:root {
--color-primary: #fef6df;
--color-primary-rgb: 254 246 223;
--color-primary-hsl: 45 94% 94%;
}
.gradient-fef6df {
background: linear-gradient(135deg, #fef6df, #f6fedf);
}
.shadow-fef6df {
box-shadow: 0 8px 24px rgb(254 246 223 / 0.35);
}
Cornsilk
#fef6df rgb(254, 246, 223) hsl(45, 94%, 94%) Cornsilk
#dfe7fe rgb(223, 231, 254) hsl(225, 94%, 94%) Lavender
#dffef6 rgb(223, 254, 246) hsl(165, 94%, 94%) Light Cyan
#f6dffe rgb(246, 223, 254) hsl(285, 94%, 94%) Languid Lavender