#f2f08e ≈ Pastel Yellow
#f2f08e 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.12% green and 55.69% blue; printed in CMYK it uses 0% cyan, 0.83% magenta, 41.32% yellow and 5.1% black. Its hue angle is 58.8°, with 79.37% saturation and 75.29% 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 17.63:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.68.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8315 |
Shades
#f2f08e mixed progressively with black.
Tints
#f2f08e mixed progressively with white.
Tones
#f2f08e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2f08e {
color: #f2f08e;
}
.bg-f2f08e {
background-color: #f2f08e;
color: #000000;
}
.border-f2f08e {
border: 2px solid #f2f08e;
}
:root {
--color-primary: #f2f08e;
--color-primary-rgb: 242 240 142;
--color-primary-hsl: 59 79% 75%;
}
.gradient-f2f08e {
background: linear-gradient(135deg, #f2f08e, #c2f28e);
}
.shadow-f2f08e {
box-shadow: 0 8px 24px rgb(242 240 142 / 0.35);
}
Pastel Yellow
#f2f08e rgb(242, 240, 142) hsl(59, 79%, 75%) Pastel Yellow
#8e90f2 rgb(142, 144, 242) hsl(239, 79%, 75%) Cornflower Blue
#8ef2f0 rgb(142, 242, 240) hsl(179, 79%, 75%) Electric Blue
#f08ef2 rgb(240, 142, 242) hsl(299, 79%, 75%) Violet