#f2f07d ≈ Pastel Yellow
#f2f07d 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 49.02% blue; printed in CMYK it uses 0% cyan, 0.83% magenta, 48.35% yellow and 5.1% black. Its hue angle is 58.97°, with 81.82% saturation and 71.96% 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.54:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.3.
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.8268 |
Shades
#f2f07d mixed progressively with black.
Tints
#f2f07d mixed progressively with white.
Tones
#f2f07d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2f07d {
color: #f2f07d;
}
.bg-f2f07d {
background-color: #f2f07d;
color: #000000;
}
.border-f2f07d {
border: 2px solid #f2f07d;
}
:root {
--color-primary: #f2f07d;
--color-primary-rgb: 242 240 125;
--color-primary-hsl: 59 82% 72%;
}
.gradient-f2f07d {
background: linear-gradient(135deg, #f2f07d, #baf27d);
}
.shadow-f2f07d {
box-shadow: 0 8px 24px rgb(242 240 125 / 0.35);
}
Pastel Yellow
#f2f07d rgb(242, 240, 125) hsl(59, 82%, 72%) Pastel Yellow
#7d7ff2 rgb(125, 127, 242) hsl(239, 82%, 72%) Medium Slate Blue
#7df2f0 rgb(125, 242, 240) hsl(179, 82%, 72%) Electric Blue
#f07df2 rgb(240, 125, 242) hsl(299, 82%, 72%) Violet