#f0ca28 ≈ Jonquil
#f0ca28 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 79.22% green and 15.69% blue; printed in CMYK it uses 0% cyan, 15.83% magenta, 83.33% yellow and 5.88% black. Its hue angle is 48.6°, with 86.96% saturation and 54.9% 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.18:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.22.
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.6092 |
Shades
#f0ca28 mixed progressively with black.
Tints
#f0ca28 mixed progressively with white.
Tones
#f0ca28 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0ca28 {
color: #f0ca28;
}
.bg-f0ca28 {
background-color: #f0ca28;
color: #000000;
}
.border-f0ca28 {
border: 2px solid #f0ca28;
}
:root {
--color-primary: #f0ca28;
--color-primary-rgb: 240 202 40;
--color-primary-hsl: 49 87% 55%;
}
.gradient-f0ca28 {
background: linear-gradient(135deg, #f0ca28, #b2f028);
}
.shadow-f0ca28 {
box-shadow: 0 8px 24px rgb(240 202 40 / 0.35);
}
Jonquil
#f0ca28 rgb(240, 202, 40) hsl(49, 87%, 55%) Jonquil
#284ef0 rgb(40, 78, 240) hsl(229, 87%, 55%) Majorelle Blue
#28f0ca rgb(40, 240, 202) hsl(169, 87%, 55%) Aquamarine
#ca28f0 rgb(202, 40, 240) hsl(289, 87%, 55%) Electric Purple