#f9efd2 ≈ Cornsilk
#f9efd2 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 97.65% red, 93.73% green and 82.35% blue; printed in CMYK it uses 0% cyan, 4.02% magenta, 15.66% yellow and 2.35% black. Its hue angle is 44.62°, with 76.47% saturation and 90% 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.31:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.17.
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.8653 |
Shades
#f9efd2 mixed progressively with black.
Tints
#f9efd2 mixed progressively with white.
Tones
#f9efd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f9efd2 {
color: #f9efd2;
}
.bg-f9efd2 {
background-color: #f9efd2;
color: #000000;
}
.border-f9efd2 {
border: 2px solid #f9efd2;
}
:root {
--color-primary: #f9efd2;
--color-primary-rgb: 249 239 210;
--color-primary-hsl: 45 76% 90%;
}
.gradient-f9efd2 {
background: linear-gradient(135deg, #f9efd2, #eff9d2);
}
.shadow-f9efd2 {
box-shadow: 0 8px 24px rgb(249 239 210 / 0.35);
}
Cornsilk
#f9efd2 rgb(249, 239, 210) hsl(45, 76%, 90%) Cornsilk
#d2dcf9 rgb(210, 220, 249) hsl(225, 76%, 90%) Lavender
#d2f9ef rgb(210, 249, 239) hsl(165, 76%, 90%) Light Cyan
#efd2f9 rgb(239, 210, 249) hsl(285, 76%, 90%) Thistle