#f0cd40 ≈ Jonquil
#f0cd40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 80.39% green and 25.1% blue; printed in CMYK it uses 0% cyan, 14.58% magenta, 73.33% yellow and 5.88% black. Its hue angle is 48.07°, with 85.44% saturation and 59.61% 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.51:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 2.77.
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.6256 |
Shades
#f0cd40 mixed progressively with black.
Tints
#f0cd40 mixed progressively with white.
Tones
#f0cd40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0cd40 {
color: #f0cd40;
}
.bg-f0cd40 {
background-color: #f0cd40;
color: #000000;
}
.border-f0cd40 {
border: 2px solid #f0cd40;
}
:root {
--color-primary: #f0cd40;
--color-primary-rgb: 240 205 64;
--color-primary-hsl: 48 85% 60%;
}
.gradient-f0cd40 {
background: linear-gradient(135deg, #f0cd40, #bbf040);
}
.shadow-f0cd40 {
box-shadow: 0 8px 24px rgb(240 205 64 / 0.35);
}
Jonquil
#f0cd40 rgb(240, 205, 64) hsl(48, 85%, 60%) Jonquil
#4063f0 rgb(64, 99, 240) hsl(228, 85%, 60%) Ultramarine Blue
#40f0cd rgb(64, 240, 205) hsl(168, 85%, 60%) Aquamarine
#cd40f0 rgb(205, 64, 240) hsl(288, 85%, 60%) Medium Orchid