#f8f580 ≈ Pastel Yellow
#f8f580 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 96.08% green and 50.2% blue; printed in CMYK it uses 0% cyan, 1.21% magenta, 48.39% yellow and 2.75% black. Its hue angle is 58.5°, with 89.55% saturation and 73.73% 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 18.36:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.74.
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.8682 |
Shades
#f8f580 mixed progressively with black.
Tints
#f8f580 mixed progressively with white.
Tones
#f8f580 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8f580 {
color: #f8f580;
}
.bg-f8f580 {
background-color: #f8f580;
color: #000000;
}
.border-f8f580 {
border: 2px solid #f8f580;
}
:root {
--color-primary: #f8f580;
--color-primary-rgb: 248 245 128;
--color-primary-hsl: 59 90% 74%;
}
.gradient-f8f580 {
background: linear-gradient(135deg, #f8f580, #bff880);
}
.shadow-f8f580 {
box-shadow: 0 8px 24px rgb(248 245 128 / 0.35);
}
Pastel Yellow
#f8f580 rgb(248, 245, 128) hsl(59, 90%, 74%) Pastel Yellow
#8083f8 rgb(128, 131, 248) hsl(239, 90%, 74%) Medium Slate Blue
#80f8f5 rgb(128, 248, 245) hsl(179, 90%, 74%) Electric Blue
#f580f8 rgb(245, 128, 248) hsl(299, 90%, 74%) Violet