#f2cf02 ≈ Jonquil
#f2cf02 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 0.78% blue; printed in CMYK it uses 0% cyan, 14.46% magenta, 99.17% yellow and 5.1% black. Its hue angle is 51.25°, with 98.36% saturation and 47.84% 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.7:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 2.21.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6351 |
Shades
#f2cf02 mixed progressively with black.
Tints
#f2cf02 mixed progressively with white.
Tones
#f2cf02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2cf02 {
color: #f2cf02;
}
.bg-f2cf02 {
background-color: #f2cf02;
color: #000000;
}
.border-f2cf02 {
border: 2px solid #f2cf02;
}
:root {
--color-primary: #f2cf02;
--color-primary-rgb: 242 207 2;
--color-primary-hsl: 51 98% 48%;
}
.gradient-f2cf02 {
background: linear-gradient(135deg, #f2cf02, #9df202);
}
.shadow-f2cf02 {
box-shadow: 0 8px 24px rgb(242 207 2 / 0.35);
}
Jonquil
#f2cf02 rgb(242, 207, 2) hsl(51, 98%, 48%) Jonquil
#0225f2 rgb(2, 37, 242) hsl(231, 98%, 48%) Blue
#02f2cf rgb(2, 242, 207) hsl(171, 98%, 48%) Aquamarine
#cf02f2 rgb(207, 2, 242) hsl(291, 98%, 48%) Electric Purple