#f2d161 ≈ Naples Yellow
#f2d161 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 81.96% green and 38.04% blue; printed in CMYK it uses 0% cyan, 13.64% magenta, 59.92% yellow and 5.1% black. Its hue angle is 46.34°, with 84.8% saturation and 66.47% 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 14.07:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.47.
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.6534 |
Shades
#f2d161 mixed progressively with black.
Tints
#f2d161 mixed progressively with white.
Tones
#f2d161 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d161 {
color: #f2d161;
}
.bg-f2d161 {
background-color: #f2d161;
color: #000000;
}
.border-f2d161 {
border: 2px solid #f2d161;
}
:root {
--color-primary: #f2d161;
--color-primary-rgb: 242 209 97;
--color-primary-hsl: 46 85% 66%;
}
.gradient-f2d161 {
background: linear-gradient(135deg, #f2d161, #cbf261);
}
.shadow-f2d161 {
box-shadow: 0 8px 24px rgb(242 209 97 / 0.35);
}
Naples Yellow
#f2d161 rgb(242, 209, 97) hsl(46, 85%, 66%) Naples Yellow
#6182f2 rgb(97, 130, 242) hsl(226, 85%, 66%) Cornflower Blue
#61f2d1 rgb(97, 242, 209) hsl(166, 85%, 66%) Aquamarine
#d161f2 rgb(209, 97, 242) hsl(286, 85%, 66%) Heliotrope