#f2cc2b ≈ Jonquil
#f2cc2b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 80% green and 16.86% blue; printed in CMYK it uses 0% cyan, 15.7% magenta, 82.23% yellow and 5.1% black. Its hue angle is 48.54°, with 88.44% saturation and 55.88% 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.45:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.28.
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.6224 |
Shades
#f2cc2b mixed progressively with black.
Tints
#f2cc2b mixed progressively with white.
Tones
#f2cc2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2cc2b {
color: #f2cc2b;
}
.bg-f2cc2b {
background-color: #f2cc2b;
color: #000000;
}
.border-f2cc2b {
border: 2px solid #f2cc2b;
}
:root {
--color-primary: #f2cc2b;
--color-primary-rgb: 242 204 43;
--color-primary-hsl: 49 88% 56%;
}
.gradient-f2cc2b {
background: linear-gradient(135deg, #f2cc2b, #b5f22b);
}
.shadow-f2cc2b {
box-shadow: 0 8px 24px rgb(242 204 43 / 0.35);
}
Jonquil
#f2cc2b rgb(242, 204, 43) hsl(49, 88%, 56%) Jonquil
#2b51f2 rgb(43, 81, 242) hsl(229, 88%, 56%) Majorelle Blue
#2bf2cc rgb(43, 242, 204) hsl(169, 88%, 56%) Aquamarine
#cc2bf2 rgb(204, 43, 242) hsl(289, 88%, 56%) Electric Purple