#f8f396 ≈ Pastel Yellow
#f8f396 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 95.29% green and 58.82% blue; printed in CMYK it uses 0% cyan, 2.02% magenta, 39.52% yellow and 2.75% black. Its hue angle is 56.94°, with 87.5% saturation and 78.04% 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.25:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.53.
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.8626 |
Shades
#f8f396 mixed progressively with black.
Tints
#f8f396 mixed progressively with white.
Tones
#f8f396 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8f396 {
color: #f8f396;
}
.bg-f8f396 {
background-color: #f8f396;
color: #000000;
}
.border-f8f396 {
border: 2px solid #f8f396;
}
:root {
--color-primary: #f8f396;
--color-primary-rgb: 248 243 150;
--color-primary-hsl: 57 88% 78%;
}
.gradient-f8f396 {
background: linear-gradient(135deg, #f8f396, #ccf896);
}
.shadow-f8f396 {
box-shadow: 0 8px 24px rgb(248 243 150 / 0.35);
}
Pastel Yellow
#f8f396 rgb(248, 243, 150) hsl(57, 88%, 78%) Pastel Yellow
#969bf8 rgb(150, 155, 248) hsl(237, 88%, 78%) Cornflower Blue
#96f8f3 rgb(150, 248, 243) hsl(177, 88%, 78%) Celeste
#f396f8 rgb(243, 150, 248) hsl(297, 88%, 78%) Violet