#f6efcc ≈ Cornsilk
#f6efcc is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 96.47% red, 93.73% green and 80% blue; printed in CMYK it uses 0% cyan, 2.85% magenta, 17.07% yellow and 3.53% black. Its hue angle is 50°, with 70% saturation and 88.24% 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.14:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.95.
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.8569 |
Shades
#f6efcc mixed progressively with black.
Tints
#f6efcc mixed progressively with white.
Tones
#f6efcc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f6efcc {
color: #f6efcc;
}
.bg-f6efcc {
background-color: #f6efcc;
color: #000000;
}
.border-f6efcc {
border: 2px solid #f6efcc;
}
:root {
--color-primary: #f6efcc;
--color-primary-rgb: 246 239 204;
--color-primary-hsl: 50 70% 88%;
}
.gradient-f6efcc {
background: linear-gradient(135deg, #f6efcc, #e8f6cc);
}
.shadow-f6efcc {
box-shadow: 0 8px 24px rgb(246 239 204 / 0.35);
}
Cornsilk
#f6efcc rgb(246, 239, 204) hsl(50, 70%, 88%) Cornsilk
#ccd3f6 rgb(204, 211, 246) hsl(230, 70%, 88%) Periwinkle
#ccf6ef rgb(204, 246, 239) hsl(170, 70%, 88%) Light Cyan
#efccf6 rgb(239, 204, 246) hsl(290, 70%, 88%) Thistle