#f7efd2 ≈ Cornsilk
#f7efd2 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 96.86% red, 93.73% green and 82.35% blue; printed in CMYK it uses 0% cyan, 3.24% magenta, 14.98% yellow and 3.14% black. Its hue angle is 47.03°, with 69.81% saturation and 89.61% 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.23:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.9.
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.8616 |
Shades
#f7efd2 mixed progressively with black.
Tints
#f7efd2 mixed progressively with white.
Tones
#f7efd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7efd2 {
color: #f7efd2;
}
.bg-f7efd2 {
background-color: #f7efd2;
color: #000000;
}
.border-f7efd2 {
border: 2px solid #f7efd2;
}
:root {
--color-primary: #f7efd2;
--color-primary-rgb: 247 239 210;
--color-primary-hsl: 47 70% 90%;
}
.gradient-f7efd2 {
background: linear-gradient(135deg, #f7efd2, #edf7d2);
}
.shadow-f7efd2 {
box-shadow: 0 8px 24px rgb(247 239 210 / 0.35);
}
Cornsilk
#f7efd2 rgb(247, 239, 210) hsl(47, 70%, 90%) Cornsilk
#d2daf7 rgb(210, 218, 247) hsl(227, 70%, 90%) Lavender
#d2f7ef rgb(210, 247, 239) hsl(167, 70%, 90%) Light Cyan
#efd2f7 rgb(239, 210, 247) hsl(287, 70%, 90%) Thistle