#f2f2bf ≈ Cream
#f2f2bf is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 94.9% red, 94.9% green and 74.9% blue; printed in CMYK it uses 0% cyan, 0% magenta, 21.07% yellow and 5.1% black. Its hue angle is 60°, with 66.23% saturation and 84.9% 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.23:1 (WCAG AAA). The closest named color is Cream (#fffdd0), ΔE 2.94.
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.8614 |
Shades
#f2f2bf mixed progressively with black.
Tints
#f2f2bf mixed progressively with white.
Tones
#f2f2bf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2f2bf {
color: #f2f2bf;
}
.bg-f2f2bf {
background-color: #f2f2bf;
color: #000000;
}
.border-f2f2bf {
border: 2px solid #f2f2bf;
}
:root {
--color-primary: #f2f2bf;
--color-primary-rgb: 242 242 191;
--color-primary-hsl: 60 66% 85%;
}
.gradient-f2f2bf {
background: linear-gradient(135deg, #f2f2bf, #d8f2bf);
}
.shadow-f2f2bf {
box-shadow: 0 8px 24px rgb(242 242 191 / 0.35);
}
Cream
#f2f2bf rgb(242, 242, 191) hsl(60, 66%, 85%) Cream
#bfbff2 rgb(191, 191, 242) hsl(240, 66%, 85%) Periwinkle
#bff2f2 rgb(191, 242, 242) hsl(180, 66%, 85%) Pale Turquoise
#f2bff2 rgb(242, 191, 242) hsl(300, 66%, 85%) Plum