#fff8e1 ≈ Cornsilk
#fff8e1 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 88.24% blue; printed in CMYK it uses 0% cyan, 2.75% magenta, 11.76% yellow and 0% black. Its hue angle is 46°, with 100% saturation and 94.12% 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.77:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.7.
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.9383 |
Shades
#fff8e1 mixed progressively with black.
Tints
#fff8e1 mixed progressively with white.
Tones
#fff8e1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff8e1 {
color: #fff8e1;
}
.bg-fff8e1 {
background-color: #fff8e1;
color: #000000;
}
.border-fff8e1 {
border: 2px solid #fff8e1;
}
:root {
--color-primary: #fff8e1;
--color-primary-rgb: 255 248 225;
--color-primary-hsl: 46 100% 94%;
}
.gradient-fff8e1 {
background: linear-gradient(135deg, #fff8e1, #f7ffe1);
}
.shadow-fff8e1 {
box-shadow: 0 8px 24px rgb(255 248 225 / 0.35);
}
Cornsilk
#fff8e1 rgb(255, 248, 225) hsl(46, 100%, 94%) Cornsilk
#e1e8ff rgb(225, 232, 255) hsl(226, 100%, 94%) Lavender
#e1fff8 rgb(225, 255, 248) hsl(166, 100%, 94%) Light Cyan
#f8e1ff rgb(248, 225, 255) hsl(286, 100%, 94%) Languid Lavender