#fff8dc Cornsilk
#fff8dc (Cornsilk) is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 100% red, 97.25% green and 86.27% blue; printed in CMYK it uses 0% cyan, 2.75% magenta, 13.73% yellow and 0% black. Its hue angle is 48°, with 100% saturation and 93.14% 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.71:1 (WCAG AAA).
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.9356 |
Shades
#fff8dc mixed progressively with black.
Tints
#fff8dc mixed progressively with white.
Tones
#fff8dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff8dc {
color: #fff8dc;
}
.bg-fff8dc {
background-color: #fff8dc;
color: #000000;
}
.border-fff8dc {
border: 2px solid #fff8dc;
}
:root {
--color-primary: #fff8dc;
--color-primary-rgb: 255 248 220;
--color-primary-hsl: 48 100% 93%;
}
.gradient-fff8dc {
background: linear-gradient(135deg, #fff8dc, #f5ffdc);
}
.shadow-fff8dc {
box-shadow: 0 8px 24px rgb(255 248 220 / 0.35);
}
Cornsilk
#fff8dc rgb(255, 248, 220) hsl(48, 100%, 93%) Cornsilk
#dce3ff rgb(220, 227, 255) hsl(228, 100%, 93%) Lavender
#dcfff8 rgb(220, 255, 248) hsl(168, 100%, 93%) Light Cyan
#f8dcff rgb(248, 220, 255) hsl(288, 100%, 93%) Thistle