#fef4cf ≈ Cornsilk
#fef4cf 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, 95.69% green and 81.18% blue; printed in CMYK it uses 0% cyan, 3.94% magenta, 18.5% yellow and 0.39% black. Its hue angle is 47.23°, with 95.92% saturation and 90.39% 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.06:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.84.
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.9028 |
Shades
#fef4cf mixed progressively with black.
Tints
#fef4cf mixed progressively with white.
Tones
#fef4cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef4cf {
color: #fef4cf;
}
.bg-fef4cf {
background-color: #fef4cf;
color: #000000;
}
.border-fef4cf {
border: 2px solid #fef4cf;
}
:root {
--color-primary: #fef4cf;
--color-primary-rgb: 254 244 207;
--color-primary-hsl: 47 96% 90%;
}
.gradient-fef4cf {
background: linear-gradient(135deg, #fef4cf, #f1fecf);
}
.shadow-fef4cf {
box-shadow: 0 8px 24px rgb(254 244 207 / 0.35);
}
Cornsilk
#fef4cf rgb(254, 244, 207) hsl(47, 96%, 90%) Cornsilk
#cfd9fe rgb(207, 217, 254) hsl(227, 96%, 90%) Periwinkle
#cffef4 rgb(207, 254, 244) hsl(167, 96%, 90%) Pale Turquoise
#f4cffe rgb(244, 207, 254) hsl(287, 96%, 90%) Thistle