#f4eac7 ≈ Cornsilk
#f4eac7 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 95.69% red, 91.76% green and 78.04% blue; printed in CMYK it uses 0% cyan, 4.1% magenta, 18.44% yellow and 4.31% black. Its hue angle is 46.67°, with 67.16% saturation and 86.86% 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.44:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 3.68.
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.822 |
Shades
#f4eac7 mixed progressively with black.
Tints
#f4eac7 mixed progressively with white.
Tones
#f4eac7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4eac7 {
color: #f4eac7;
}
.bg-f4eac7 {
background-color: #f4eac7;
color: #000000;
}
.border-f4eac7 {
border: 2px solid #f4eac7;
}
:root {
--color-primary: #f4eac7;
--color-primary-rgb: 244 234 199;
--color-primary-hsl: 47 67% 87%;
}
.gradient-f4eac7 {
background: linear-gradient(135deg, #f4eac7, #e7f4c7);
}
.shadow-f4eac7 {
box-shadow: 0 8px 24px rgb(244 234 199 / 0.35);
}
Cornsilk
#f4eac7 rgb(244, 234, 199) hsl(47, 67%, 87%) Cornsilk
#c7d1f4 rgb(199, 209, 244) hsl(227, 67%, 87%) Periwinkle
#c7f4ea rgb(199, 244, 234) hsl(167, 67%, 87%) Pale Turquoise
#eac7f4 rgb(234, 199, 244) hsl(287, 67%, 87%) Thistle