#f0f596 ≈ Pastel Yellow
#f0f596 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 96.08% green and 58.82% blue; printed in CMYK it uses 2.04% cyan, 0% magenta, 38.78% yellow and 3.92% black. Its hue angle is 63.16°, with 82.61% saturation and 77.45% 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 18.21:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.51.
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.8603 |
Shades
#f0f596 mixed progressively with black.
Tints
#f0f596 mixed progressively with white.
Tones
#f0f596 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0f596 {
color: #f0f596;
}
.bg-f0f596 {
background-color: #f0f596;
color: #000000;
}
.border-f0f596 {
border: 2px solid #f0f596;
}
:root {
--color-primary: #f0f596;
--color-primary-rgb: 240 245 150;
--color-primary-hsl: 63 83% 77%;
}
.gradient-f0f596 {
background: linear-gradient(135deg, #f0f596, #c0f596);
}
.shadow-f0f596 {
box-shadow: 0 8px 24px rgb(240 245 150 / 0.35);
}
Pastel Yellow
#f0f596 rgb(240, 245, 150) hsl(63, 83%, 77%) Pastel Yellow
#9b96f5 rgb(155, 150, 245) hsl(243, 83%, 77%) Wild Blue Yonder
#96f0f5 rgb(150, 240, 245) hsl(183, 83%, 77%) Electric Blue
#f596f0 rgb(245, 150, 240) hsl(303, 83%, 77%) Violet