#f8cd2f ≈ Jonquil
#f8cd2f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 80.39% green and 18.43% blue; printed in CMYK it uses 0% cyan, 17.34% magenta, 81.05% yellow and 2.75% black. Its hue angle is 47.16°, with 93.49% saturation and 57.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.76:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.33.
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.6382 |
Shades
#f8cd2f mixed progressively with black.
Tints
#f8cd2f mixed progressively with white.
Tones
#f8cd2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8cd2f {
color: #f8cd2f;
}
.bg-f8cd2f {
background-color: #f8cd2f;
color: #000000;
}
.border-f8cd2f {
border: 2px solid #f8cd2f;
}
:root {
--color-primary: #f8cd2f;
--color-primary-rgb: 248 205 47;
--color-primary-hsl: 47 93% 58%;
}
.gradient-f8cd2f {
background: linear-gradient(135deg, #f8cd2f, #bff82f);
}
.shadow-f8cd2f {
box-shadow: 0 8px 24px rgb(248 205 47 / 0.35);
}
Jonquil
#f8cd2f rgb(248, 205, 47) hsl(47, 93%, 58%) Jonquil
#2f5af8 rgb(47, 90, 248) hsl(227, 93%, 58%) Ultramarine Blue
#2ff8cd rgb(47, 248, 205) hsl(167, 93%, 58%) Aquamarine
#cd2ff8 rgb(205, 47, 248) hsl(287, 93%, 58%) Electric Purple