#fff7d4 ≈ Cornsilk
#fff7d4 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 100% red, 96.86% green and 83.14% blue; printed in CMYK it uses 0% cyan, 3.14% magenta, 16.86% yellow and 0% black. Its hue angle is 48.84°, with 100% saturation and 91.57% 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 19.51:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.11.
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.9253 |
Shades
#fff7d4 mixed progressively with black.
Tints
#fff7d4 mixed progressively with white.
Tones
#fff7d4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff7d4 {
color: #fff7d4;
}
.bg-fff7d4 {
background-color: #fff7d4;
color: #000000;
}
.border-fff7d4 {
border: 2px solid #fff7d4;
}
:root {
--color-primary: #fff7d4;
--color-primary-rgb: 255 247 212;
--color-primary-hsl: 49 100% 92%;
}
.gradient-fff7d4 {
background: linear-gradient(135deg, #fff7d4, #f2ffd4);
}
.shadow-fff7d4 {
box-shadow: 0 8px 24px rgb(255 247 212 / 0.35);
}
Cornsilk
#fff7d4 rgb(255, 247, 212) hsl(49, 100%, 92%) Cornsilk
#d4dcff rgb(212, 220, 255) hsl(229, 100%, 92%) Periwinkle
#d4fff7 rgb(212, 255, 247) hsl(169, 100%, 92%) Light Cyan
#f7d4ff rgb(247, 212, 255) hsl(289, 100%, 92%) Thistle