#f5cd2a ≈ Jonquil
#f5cd2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 80.39% green and 16.47% blue; printed in CMYK it uses 0% cyan, 16.33% magenta, 82.86% yellow and 3.92% black. Its hue angle is 48.18°, with 91.03% saturation and 56.27% 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.65:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.04.
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.6324 |
Shades
#f5cd2a mixed progressively with black.
Tints
#f5cd2a mixed progressively with white.
Tones
#f5cd2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5cd2a {
color: #f5cd2a;
}
.bg-f5cd2a {
background-color: #f5cd2a;
color: #000000;
}
.border-f5cd2a {
border: 2px solid #f5cd2a;
}
:root {
--color-primary: #f5cd2a;
--color-primary-rgb: 245 205 42;
--color-primary-hsl: 48 91% 56%;
}
.gradient-f5cd2a {
background: linear-gradient(135deg, #f5cd2a, #b7f52a);
}
.shadow-f5cd2a {
box-shadow: 0 8px 24px rgb(245 205 42 / 0.35);
}
Jonquil
#f5cd2a rgb(245, 205, 42) hsl(48, 91%, 56%) Jonquil
#2a52f5 rgb(42, 82, 245) hsl(228, 91%, 56%) Majorelle Blue
#2af5cd rgb(42, 245, 205) hsl(168, 91%, 56%) Aquamarine
#cd2af5 rgb(205, 42, 245) hsl(288, 91%, 56%) Electric Purple