#f2ffc7 ≈ Cream
#f2ffc7 is a color from the yellow-green family, with very high lightness and muted saturation. In the RGB model it is made of 94.9% red, 100% green and 78.04% blue; printed in CMYK it uses 5.1% cyan, 0% magenta, 21.96% yellow and 0% black. Its hue angle is 73.93°, with 100% saturation and 89.02% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and soft pastel palettes. Black text on this color reaches a contrast ratio of 19.9:1 (WCAG AAA). The closest named color is Cream (#fffdd0), ΔE 5.
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.9452 |
Shades
#f2ffc7 mixed progressively with black.
Tints
#f2ffc7 mixed progressively with white.
Tones
#f2ffc7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2ffc7 {
color: #f2ffc7;
}
.bg-f2ffc7 {
background-color: #f2ffc7;
color: #000000;
}
.border-f2ffc7 {
border: 2px solid #f2ffc7;
}
:root {
--color-primary: #f2ffc7;
--color-primary-rgb: 242 255 199;
--color-primary-hsl: 74 100% 89%;
}
.gradient-f2ffc7 {
background: linear-gradient(135deg, #f2ffc7, #d6ffc7);
}
.shadow-f2ffc7 {
box-shadow: 0 8px 24px rgb(242 255 199 / 0.35);
}
Cream
#f2ffc7 rgb(242, 255, 199) hsl(74, 100%, 89%) Cream
#d4c7ff rgb(212, 199, 255) hsl(254, 100%, 89%) Periwinkle
#c7f2ff rgb(199, 242, 255) hsl(194, 100%, 89%) Powder Blue
#ffc7f2 rgb(255, 199, 242) hsl(314, 100%, 89%) Thistle