#fff8db ≈ Cornsilk
#fff8db 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 85.88% blue; printed in CMYK it uses 0% cyan, 2.75% magenta, 14.12% yellow and 0% black. Its hue angle is 48.33°, with 100% saturation and 92.94% 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.7:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 0.32.
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.9351 |
Shades
#fff8db mixed progressively with black.
Tints
#fff8db mixed progressively with white.
Tones
#fff8db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff8db {
color: #fff8db;
}
.bg-fff8db {
background-color: #fff8db;
color: #000000;
}
.border-fff8db {
border: 2px solid #fff8db;
}
:root {
--color-primary: #fff8db;
--color-primary-rgb: 255 248 219;
--color-primary-hsl: 48 100% 93%;
}
.gradient-fff8db {
background: linear-gradient(135deg, #fff8db, #f4ffdb);
}
.shadow-fff8db {
box-shadow: 0 8px 24px rgb(255 248 219 / 0.35);
}
Cornsilk
#fff8db rgb(255, 248, 219) hsl(48, 100%, 93%) Cornsilk
#dbe2ff rgb(219, 226, 255) hsl(228, 100%, 93%) Lavender
#dbfff8 rgb(219, 255, 248) hsl(168, 100%, 93%) Light Cyan
#f8dbff rgb(248, 219, 255) hsl(288, 100%, 93%) Thistle