#fff9d6 ≈ Cornsilk
#fff9d6 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 83.92% blue; printed in CMYK it uses 0% cyan, 2.35% magenta, 16.08% yellow and 0% black. Its hue angle is 51.22°, with 100% saturation and 91.96% 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 2.28.
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.9387 |
Shades
#fff9d6 mixed progressively with black.
Tints
#fff9d6 mixed progressively with white.
Tones
#fff9d6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff9d6 {
color: #fff9d6;
}
.bg-fff9d6 {
background-color: #fff9d6;
color: #000000;
}
.border-fff9d6 {
border: 2px solid #fff9d6;
}
:root {
--color-primary: #fff9d6;
--color-primary-rgb: 255 249 214;
--color-primary-hsl: 51 100% 92%;
}
.gradient-fff9d6 {
background: linear-gradient(135deg, #fff9d6, #f0ffd6);
}
.shadow-fff9d6 {
box-shadow: 0 8px 24px rgb(255 249 214 / 0.35);
}
Cornsilk
#fff9d6 rgb(255, 249, 214) hsl(51, 100%, 92%) Cornsilk
#d6dcff rgb(214, 220, 255) hsl(231, 100%, 92%) Periwinkle
#d6fff9 rgb(214, 255, 249) hsl(171, 100%, 92%) Light Cyan
#f9d6ff rgb(249, 214, 255) hsl(291, 100%, 92%) Thistle