#f7fc2f ≈ Daffodil
#f7fc2f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.86% red, 98.82% green and 18.43% blue; printed in CMYK it uses 1.98% cyan, 0% magenta, 81.35% yellow and 1.18% black. Its hue angle is 61.46°, with 97.16% saturation and 58.63% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 18.92:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 1.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.896 |
Shades
#f7fc2f mixed progressively with black.
Tints
#f7fc2f mixed progressively with white.
Tones
#f7fc2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7fc2f {
color: #f7fc2f;
}
.bg-f7fc2f {
background-color: #f7fc2f;
color: #000000;
}
.border-f7fc2f {
border: 2px solid #f7fc2f;
}
:root {
--color-primary: #f7fc2f;
--color-primary-rgb: 247 252 47;
--color-primary-hsl: 61 97% 59%;
}
.gradient-f7fc2f {
background: linear-gradient(135deg, #f7fc2f, #91fc2f);
}
.shadow-f7fc2f {
box-shadow: 0 8px 24px rgb(247 252 47 / 0.35);
}
Daffodil
#f7fc2f rgb(247, 252, 47) hsl(61, 97%, 59%) Daffodil
#342ffc rgb(52, 47, 252) hsl(241, 97%, 59%) Han Purple
#2ff7fc rgb(47, 247, 252) hsl(181, 97%, 59%) Aqua
#fc2ff7 rgb(252, 47, 247) hsl(301, 97%, 59%) Fuchsia