#f2f178 ≈ Pastel Yellow
#f2f178 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 94.51% green and 47.06% blue; printed in CMYK it uses 0% cyan, 0.41% magenta, 50.41% yellow and 5.1% black. Its hue angle is 59.51°, with 82.43% saturation and 70.98% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 17.63:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8314 |
Shades
#f2f178 mixed progressively with black.
Tints
#f2f178 mixed progressively with white.
Tones
#f2f178 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2f178 {
color: #f2f178;
}
.bg-f2f178 {
background-color: #f2f178;
color: #000000;
}
.border-f2f178 {
border: 2px solid #f2f178;
}
:root {
--color-primary: #f2f178;
--color-primary-rgb: 242 241 120;
--color-primary-hsl: 60 82% 71%;
}
.gradient-f2f178 {
background: linear-gradient(135deg, #f2f178, #b6f278);
}
.shadow-f2f178 {
box-shadow: 0 8px 24px rgb(242 241 120 / 0.35);
}
Pastel Yellow
#f2f178 rgb(242, 241, 120) hsl(60, 82%, 71%) Pastel Yellow
#7879f2 rgb(120, 121, 242) hsl(240, 82%, 71%) Medium Slate Blue
#78f2f1 rgb(120, 242, 241) hsl(180, 82%, 71%) Electric Blue
#f178f2 rgb(241, 120, 242) hsl(300, 82%, 71%) Violet