#f8efcd ≈ Cornsilk
#f8efcd is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 97.25% red, 93.73% green and 80.39% blue; printed in CMYK it uses 0% cyan, 3.63% magenta, 17.34% yellow and 2.75% black. Its hue angle is 47.44°, with 75.44% saturation and 88.82% 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 18.22:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.65.
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.861 |
Shades
#f8efcd mixed progressively with black.
Tints
#f8efcd mixed progressively with white.
Tones
#f8efcd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8efcd {
color: #f8efcd;
}
.bg-f8efcd {
background-color: #f8efcd;
color: #000000;
}
.border-f8efcd {
border: 2px solid #f8efcd;
}
:root {
--color-primary: #f8efcd;
--color-primary-rgb: 248 239 205;
--color-primary-hsl: 47 75% 89%;
}
.gradient-f8efcd {
background: linear-gradient(135deg, #f8efcd, #ebf8cd);
}
.shadow-f8efcd {
box-shadow: 0 8px 24px rgb(248 239 205 / 0.35);
}
Cornsilk
#f8efcd rgb(248, 239, 205) hsl(47, 75%, 89%) Cornsilk
#cdd6f8 rgb(205, 214, 248) hsl(227, 75%, 89%) Periwinkle
#cdf8ef rgb(205, 248, 239) hsl(167, 75%, 89%) Light Cyan
#efcdf8 rgb(239, 205, 248) hsl(287, 75%, 89%) Thistle