#fcf7a2 ≈ Pastel Yellow
#fcf7a2 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.82% red, 96.86% green and 63.53% blue; printed in CMYK it uses 0% cyan, 1.98% magenta, 35.71% yellow and 1.18% black. Its hue angle is 56.67°, with 93.75% saturation and 81.18% 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.97:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.03.
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.8983 |
Shades
#fcf7a2 mixed progressively with black.
Tints
#fcf7a2 mixed progressively with white.
Tones
#fcf7a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fcf7a2 {
color: #fcf7a2;
}
.bg-fcf7a2 {
background-color: #fcf7a2;
color: #000000;
}
.border-fcf7a2 {
border: 2px solid #fcf7a2;
}
:root {
--color-primary: #fcf7a2;
--color-primary-rgb: 252 247 162;
--color-primary-hsl: 57 94% 81%;
}
.gradient-fcf7a2 {
background: linear-gradient(135deg, #fcf7a2, #d4fca2);
}
.shadow-fcf7a2 {
box-shadow: 0 8px 24px rgb(252 247 162 / 0.35);
}
Pastel Yellow
#fcf7a2 rgb(252, 247, 162) hsl(57, 94%, 81%) Pastel Yellow
#a2a7fc rgb(162, 167, 252) hsl(237, 94%, 81%) Wild Blue Yonder
#a2fcf7 rgb(162, 252, 247) hsl(177, 94%, 81%) Celeste
#f7a2fc rgb(247, 162, 252) hsl(297, 94%, 81%) Plum