#fff6d2 ≈ Cornsilk
#fff6d2 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.47% green and 82.35% blue; printed in CMYK it uses 0% cyan, 3.53% magenta, 17.65% yellow and 0% black. Its hue angle is 48°, with 100% saturation and 91.18% 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.36:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.43.
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.9182 |
Shades
#fff6d2 mixed progressively with black.
Tints
#fff6d2 mixed progressively with white.
Tones
#fff6d2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff6d2 {
color: #fff6d2;
}
.bg-fff6d2 {
background-color: #fff6d2;
color: #000000;
}
.border-fff6d2 {
border: 2px solid #fff6d2;
}
:root {
--color-primary: #fff6d2;
--color-primary-rgb: 255 246 210;
--color-primary-hsl: 48 100% 91%;
}
.gradient-fff6d2 {
background: linear-gradient(135deg, #fff6d2, #f2ffd2);
}
.shadow-fff6d2 {
box-shadow: 0 8px 24px rgb(255 246 210 / 0.35);
}
Cornsilk
#fff6d2 rgb(255, 246, 210) hsl(48, 100%, 91%) Cornsilk
#d2dbff rgb(210, 219, 255) hsl(228, 100%, 91%) Periwinkle
#d2fff6 rgb(210, 255, 246) hsl(168, 100%, 91%) Light Cyan
#f6d2ff rgb(246, 210, 255) hsl(288, 100%, 91%) Thistle