#f2ebcd ≈ Cornsilk
#f2ebcd is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 94.9% red, 92.16% green and 80.39% blue; printed in CMYK it uses 0% cyan, 2.89% magenta, 15.29% yellow and 5.1% black. Its hue angle is 48.65°, with 58.73% saturation and 87.65% 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 17.54:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.82.
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.827 |
Shades
#f2ebcd mixed progressively with black.
Tints
#f2ebcd mixed progressively with white.
Tones
#f2ebcd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2ebcd {
color: #f2ebcd;
}
.bg-f2ebcd {
background-color: #f2ebcd;
color: #000000;
}
.border-f2ebcd {
border: 2px solid #f2ebcd;
}
:root {
--color-primary: #f2ebcd;
--color-primary-rgb: 242 235 205;
--color-primary-hsl: 49 59% 88%;
}
.gradient-f2ebcd {
background: linear-gradient(135deg, #f2ebcd, #e7f2cd);
}
.shadow-f2ebcd {
box-shadow: 0 8px 24px rgb(242 235 205 / 0.35);
}
Cornsilk
#f2ebcd rgb(242, 235, 205) hsl(49, 59%, 88%) Cornsilk
#cdd4f2 rgb(205, 212, 242) hsl(229, 59%, 88%) Lavender
#cdf2eb rgb(205, 242, 235) hsl(169, 59%, 88%) Light Cyan
#ebcdf2 rgb(235, 205, 242) hsl(289, 59%, 88%) Thistle