#fff787 ≈ Pastel Yellow
#fff787 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 96.86% green and 52.94% blue; printed in CMYK it uses 0% cyan, 3.14% magenta, 47.06% yellow and 0% black. Its hue angle is 56°, with 100% saturation and 76.47% 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.91:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.68.
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.8953 |
Shades
#fff787 mixed progressively with black.
Tints
#fff787 mixed progressively with white.
Tones
#fff787 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fff787 {
color: #fff787;
}
.bg-fff787 {
background-color: #fff787;
color: #000000;
}
.border-fff787 {
border: 2px solid #fff787;
}
:root {
--color-primary: #fff787;
--color-primary-rgb: 255 247 135;
--color-primary-hsl: 56 100% 76%;
}
.gradient-fff787 {
background: linear-gradient(135deg, #fff787, #cbff87);
}
.shadow-fff787 {
box-shadow: 0 8px 24px rgb(255 247 135 / 0.35);
}
Pastel Yellow
#fff787 rgb(255, 247, 135) hsl(56, 100%, 76%) Pastel Yellow
#878fff rgb(135, 143, 255) hsl(236, 100%, 76%) Cornflower Blue
#87fff7 rgb(135, 255, 247) hsl(176, 100%, 76%) Electric Blue
#f787ff rgb(247, 135, 255) hsl(296, 100%, 76%) Violet