#f9f9c3 ≈ Cream
#f9f9c3 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 97.65% red, 97.65% green and 76.47% blue; printed in CMYK it uses 0% cyan, 0% magenta, 21.69% yellow and 2.35% black. Its hue angle is 60°, with 81.82% saturation and 87.06% 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.37:1 (WCAG AAA). The closest named color is Cream (#fffdd0), ΔE 2.47.
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.9183 |
Shades
#f9f9c3 mixed progressively with black.
Tints
#f9f9c3 mixed progressively with white.
Tones
#f9f9c3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f9f9c3 {
color: #f9f9c3;
}
.bg-f9f9c3 {
background-color: #f9f9c3;
color: #000000;
}
.border-f9f9c3 {
border: 2px solid #f9f9c3;
}
:root {
--color-primary: #f9f9c3;
--color-primary-rgb: 249 249 195;
--color-primary-hsl: 60 82% 87%;
}
.gradient-f9f9c3 {
background: linear-gradient(135deg, #f9f9c3, #def9c3);
}
.shadow-f9f9c3 {
box-shadow: 0 8px 24px rgb(249 249 195 / 0.35);
}
Cream
#f9f9c3 rgb(249, 249, 195) hsl(60, 82%, 87%) Cream
#c3c3f9 rgb(195, 195, 249) hsl(240, 82%, 87%) Periwinkle
#c3f9f9 rgb(195, 249, 249) hsl(180, 82%, 87%) Pale Turquoise
#f9c3f9 rgb(249, 195, 249) hsl(300, 82%, 87%) Mauve