#faf2d5 ≈ Cornsilk
#faf2d5 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 98.04% red, 94.9% green and 83.53% blue; printed in CMYK it uses 0% cyan, 3.2% magenta, 14.8% yellow and 1.96% black. Its hue angle is 47.03°, with 78.72% saturation and 90.78% 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 18.73:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.3.
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.8863 |
Shades
#faf2d5 mixed progressively with black.
Tints
#faf2d5 mixed progressively with white.
Tones
#faf2d5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-faf2d5 {
color: #faf2d5;
}
.bg-faf2d5 {
background-color: #faf2d5;
color: #000000;
}
.border-faf2d5 {
border: 2px solid #faf2d5;
}
:root {
--color-primary: #faf2d5;
--color-primary-rgb: 250 242 213;
--color-primary-hsl: 47 79% 91%;
}
.gradient-faf2d5 {
background: linear-gradient(135deg, #faf2d5, #effad5);
}
.shadow-faf2d5 {
box-shadow: 0 8px 24px rgb(250 242 213 / 0.35);
}
Cornsilk
#faf2d5 rgb(250, 242, 213) hsl(47, 79%, 91%) Cornsilk
#d5ddfa rgb(213, 221, 250) hsl(227, 79%, 91%) Lavender
#d5faf2 rgb(213, 250, 242) hsl(167, 79%, 91%) Light Cyan
#f2d5fa rgb(242, 213, 250) hsl(287, 79%, 91%) Thistle