#f8cd2c ≈ Jonquil
#f8cd2c 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 17.25% blue; printed in CMYK it uses 0% cyan, 17.34% magenta, 82.26% yellow and 2.75% black. Its hue angle is 47.35°, with 93.58% 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 13.76:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.18.
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.638 |
Shades
#f8cd2c mixed progressively with black.
Tints
#f8cd2c mixed progressively with white.
Tones
#f8cd2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8cd2c {
color: #f8cd2c;
}
.bg-f8cd2c {
background-color: #f8cd2c;
color: #000000;
}
.border-f8cd2c {
border: 2px solid #f8cd2c;
}
:root {
--color-primary: #f8cd2c;
--color-primary-rgb: 248 205 44;
--color-primary-hsl: 47 94% 57%;
}
.gradient-f8cd2c {
background: linear-gradient(135deg, #f8cd2c, #bdf82c);
}
.shadow-f8cd2c {
box-shadow: 0 8px 24px rgb(248 205 44 / 0.35);
}
Jonquil
#f8cd2c rgb(248, 205, 44) hsl(47, 94%, 57%) Jonquil
#2c57f8 rgb(44, 87, 248) hsl(227, 94%, 57%) Ultramarine Blue
#2cf8cd rgb(44, 248, 205) hsl(167, 94%, 57%) Aquamarine
#cd2cf8 rgb(205, 44, 248) hsl(287, 94%, 57%) Electric Purple