#f2cd5f ≈ Naples Yellow
#f2cd5f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 80.39% green and 37.25% blue; printed in CMYK it uses 0% cyan, 15.29% magenta, 60.74% yellow and 5.1% black. Its hue angle is 44.9°, with 84.97% saturation and 66.08% 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.67:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 3.62.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6337 |
Shades
#f2cd5f mixed progressively with black.
Tints
#f2cd5f mixed progressively with white.
Tones
#f2cd5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2cd5f {
color: #f2cd5f;
}
.bg-f2cd5f {
background-color: #f2cd5f;
color: #000000;
}
.border-f2cd5f {
border: 2px solid #f2cd5f;
}
:root {
--color-primary: #f2cd5f;
--color-primary-rgb: 242 205 95;
--color-primary-hsl: 45 85% 66%;
}
.gradient-f2cd5f {
background: linear-gradient(135deg, #f2cd5f, #cdf25f);
}
.shadow-f2cd5f {
box-shadow: 0 8px 24px rgb(242 205 95 / 0.35);
}
Naples Yellow
#f2cd5f rgb(242, 205, 95) hsl(45, 85%, 66%) Naples Yellow
#5f84f2 rgb(95, 132, 242) hsl(225, 85%, 66%) Cornflower Blue
#5ff2cd rgb(95, 242, 205) hsl(165, 85%, 66%) Aquamarine
#cd5ff2 rgb(205, 95, 242) hsl(285, 85%, 66%) Heliotrope