#f7ffaf ≈ Pastel Yellow
#f7ffaf is a color from the yellow-green family, with very high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 100% green and 68.63% blue; printed in CMYK it uses 3.14% cyan, 0% magenta, 31.37% yellow and 0% black. Its hue angle is 66°, with 100% saturation and 84.31% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and soft pastel palettes. Black text on this color reaches a contrast ratio of 19.88:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.46.
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.9439 |
Shades
#f7ffaf mixed progressively with black.
Tints
#f7ffaf mixed progressively with white.
Tones
#f7ffaf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7ffaf {
color: #f7ffaf;
}
.bg-f7ffaf {
background-color: #f7ffaf;
color: #000000;
}
.border-f7ffaf {
border: 2px solid #f7ffaf;
}
:root {
--color-primary: #f7ffaf;
--color-primary-rgb: 247 255 175;
--color-primary-hsl: 66 100% 84%;
}
.gradient-f7ffaf {
background: linear-gradient(135deg, #f7ffaf, #cfffaf);
}
.shadow-f7ffaf {
box-shadow: 0 8px 24px rgb(247 255 175 / 0.35);
}
Pastel Yellow
#f7ffaf rgb(247, 255, 175) hsl(66, 100%, 84%) Pastel Yellow
#b7afff rgb(183, 175, 255) hsl(246, 100%, 84%) Periwinkle
#aff7ff rgb(175, 247, 255) hsl(186, 100%, 84%) Pale Turquoise
#ffaff7 rgb(255, 175, 247) hsl(306, 100%, 84%) Plum