#fff9d7 ≈ Cornsilk
#fff9d7 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.65% green and 84.31% blue; printed in CMYK it uses 0% cyan, 2.35% magenta, 15.69% yellow and 0% black. Its hue angle is 51°, with 100% saturation and 92.16% 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.78:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.
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.9392 |
Shades
#fff9d7 mixed progressively with black.
Tints
#fff9d7 mixed progressively with white.
Tones
#fff9d7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff9d7 {
color: #fff9d7;
}
.bg-fff9d7 {
background-color: #fff9d7;
color: #000000;
}
.border-fff9d7 {
border: 2px solid #fff9d7;
}
:root {
--color-primary: #fff9d7;
--color-primary-rgb: 255 249 215;
--color-primary-hsl: 51 100% 92%;
}
.gradient-fff9d7 {
background: linear-gradient(135deg, #fff9d7, #f1ffd7);
}
.shadow-fff9d7 {
box-shadow: 0 8px 24px rgb(255 249 215 / 0.35);
}
Cornsilk
#fff9d7 rgb(255, 249, 215) hsl(51, 100%, 92%) Cornsilk
#d7ddff rgb(215, 221, 255) hsl(231, 100%, 92%) Lavender
#d7fff9 rgb(215, 255, 249) hsl(171, 100%, 92%) Light Cyan
#f9d7ff rgb(249, 215, 255) hsl(291, 100%, 92%) Thistle