#f2cf2c ≈ Jonquil
#f2cf2c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 81.18% green and 17.25% blue; printed in CMYK it uses 0% cyan, 14.46% magenta, 81.82% yellow and 5.1% black. Its hue angle is 49.39°, with 88.39% saturation and 56.08% 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 13.74:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 2.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6368 |
Shades
#f2cf2c mixed progressively with black.
Tints
#f2cf2c mixed progressively with white.
Tones
#f2cf2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2cf2c {
color: #f2cf2c;
}
.bg-f2cf2c {
background-color: #f2cf2c;
color: #000000;
}
.border-f2cf2c {
border: 2px solid #f2cf2c;
}
:root {
--color-primary: #f2cf2c;
--color-primary-rgb: 242 207 44;
--color-primary-hsl: 49 88% 56%;
}
.gradient-f2cf2c {
background: linear-gradient(135deg, #f2cf2c, #b2f22c);
}
.shadow-f2cf2c {
box-shadow: 0 8px 24px rgb(242 207 44 / 0.35);
}
Jonquil
#f2cf2c rgb(242, 207, 44) hsl(49, 88%, 56%) Jonquil
#2c4ff2 rgb(44, 79, 242) hsl(229, 88%, 56%) Majorelle Blue
#2cf2cf rgb(44, 242, 207) hsl(169, 88%, 56%) Aquamarine
#cf2cf2 rgb(207, 44, 242) hsl(289, 88%, 56%) Electric Purple