#f2f331 ≈ Daffodil
#f2f331 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 95.29% green and 19.22% blue; printed in CMYK it uses 0.41% cyan, 0% magenta, 79.84% yellow and 4.71% black. Its hue angle is 60.31°, with 88.99% saturation and 57.25% 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 17.64:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 2.6.
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.832 |
Shades
#f2f331 mixed progressively with black.
Tints
#f2f331 mixed progressively with white.
Tones
#f2f331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2f331 {
color: #f2f331;
}
.bg-f2f331 {
background-color: #f2f331;
color: #000000;
}
.border-f2f331 {
border: 2px solid #f2f331;
}
:root {
--color-primary: #f2f331;
--color-primary-rgb: 242 243 49;
--color-primary-hsl: 60 89% 57%;
}
.gradient-f2f331 {
background: linear-gradient(135deg, #f2f331, #91f331);
}
.shadow-f2f331 {
box-shadow: 0 8px 24px rgb(242 243 49 / 0.35);
}
Daffodil
#f2f331 rgb(242, 243, 49) hsl(60, 89%, 57%) Daffodil
#3231f3 rgb(50, 49, 243) hsl(240, 89%, 57%) Han Purple
#31f2f3 rgb(49, 242, 243) hsl(180, 89%, 57%) Aqua
#f331f2 rgb(243, 49, 242) hsl(300, 89%, 57%) Fuchsia