#fef9db ≈ Cornsilk
#fef9db is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 99.61% red, 97.65% green and 85.88% blue; printed in CMYK it uses 0% cyan, 1.97% magenta, 13.78% yellow and 0.39% black. Its hue angle is 51.43°, with 94.59% saturation and 92.75% 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.79:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.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.9394 |
Shades
#fef9db mixed progressively with black.
Tints
#fef9db mixed progressively with white.
Tones
#fef9db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef9db {
color: #fef9db;
}
.bg-fef9db {
background-color: #fef9db;
color: #000000;
}
.border-fef9db {
border: 2px solid #fef9db;
}
:root {
--color-primary: #fef9db;
--color-primary-rgb: 254 249 219;
--color-primary-hsl: 51 95% 93%;
}
.gradient-fef9db {
background: linear-gradient(135deg, #fef9db, #f2fedb);
}
.shadow-fef9db {
box-shadow: 0 8px 24px rgb(254 249 219 / 0.35);
}
Cornsilk
#fef9db rgb(254, 249, 219) hsl(51, 95%, 93%) Cornsilk
#dbe0fe rgb(219, 224, 254) hsl(231, 95%, 93%) Lavender
#dbfef9 rgb(219, 254, 249) hsl(171, 95%, 93%) Light Cyan
#f9dbfe rgb(249, 219, 254) hsl(291, 95%, 93%) Thistle