#fcf987 ≈ Pastel Yellow
#fcf987 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.82% red, 97.65% green and 52.94% blue; printed in CMYK it uses 0% cyan, 1.19% magenta, 46.43% yellow and 1.18% black. Its hue angle is 58.46°, with 95.12% saturation and 75.88% 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 19.04:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.97.
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.902 |
Shades
#fcf987 mixed progressively with black.
Tints
#fcf987 mixed progressively with white.
Tones
#fcf987 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fcf987 {
color: #fcf987;
}
.bg-fcf987 {
background-color: #fcf987;
color: #000000;
}
.border-fcf987 {
border: 2px solid #fcf987;
}
:root {
--color-primary: #fcf987;
--color-primary-rgb: 252 249 135;
--color-primary-hsl: 58 95% 76%;
}
.gradient-fcf987 {
background: linear-gradient(135deg, #fcf987, #c4fc87);
}
.shadow-fcf987 {
box-shadow: 0 8px 24px rgb(252 249 135 / 0.35);
}
Pastel Yellow
#fcf987 rgb(252, 249, 135) hsl(58, 95%, 76%) Pastel Yellow
#878afc rgb(135, 138, 252) hsl(238, 95%, 76%) Cornflower Blue
#87fcf9 rgb(135, 252, 249) hsl(178, 95%, 76%) Electric Blue
#f987fc rgb(249, 135, 252) hsl(298, 95%, 76%) Violet