#f0f080 ≈ Pastel Yellow
#f0f080 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 94.12% green and 50.2% blue; printed in CMYK it uses 0% cyan, 0% magenta, 46.67% yellow and 5.88% black. Its hue angle is 60°, with 78.87% saturation and 72.16% 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 brand accents. Black text on this color reaches a contrast ratio of 17.48:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.08.
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.824 |
Shades
#f0f080 mixed progressively with black.
Tints
#f0f080 mixed progressively with white.
Tones
#f0f080 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0f080 {
color: #f0f080;
}
.bg-f0f080 {
background-color: #f0f080;
color: #000000;
}
.border-f0f080 {
border: 2px solid #f0f080;
}
:root {
--color-primary: #f0f080;
--color-primary-rgb: 240 240 128;
--color-primary-hsl: 60 79% 72%;
}
.gradient-f0f080 {
background: linear-gradient(135deg, #f0f080, #b8f080);
}
.shadow-f0f080 {
box-shadow: 0 8px 24px rgb(240 240 128 / 0.35);
}
Pastel Yellow
#f0f080 rgb(240, 240, 128) hsl(60, 79%, 72%) Pastel Yellow
#8080f0 rgb(128, 128, 240) hsl(240, 79%, 72%) Medium Slate Blue
#80f0f0 rgb(128, 240, 240) hsl(180, 79%, 72%) Electric Blue
#f080f0 rgb(240, 128, 240) hsl(300, 79%, 72%) Violet