#f2d062 ≈ Naples Yellow
#f2d062 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.57% green and 38.43% blue; printed in CMYK it uses 0% cyan, 14.05% magenta, 59.5% yellow and 5.1% black. Its hue angle is 45.83°, with 84.71% saturation and 66.67% 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.97:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.84.
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.6487 |
Shades
#f2d062 mixed progressively with black.
Tints
#f2d062 mixed progressively with white.
Tones
#f2d062 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d062 {
color: #f2d062;
}
.bg-f2d062 {
background-color: #f2d062;
color: #000000;
}
.border-f2d062 {
border: 2px solid #f2d062;
}
:root {
--color-primary: #f2d062;
--color-primary-rgb: 242 208 98;
--color-primary-hsl: 46 85% 67%;
}
.gradient-f2d062 {
background: linear-gradient(135deg, #f2d062, #ccf262);
}
.shadow-f2d062 {
box-shadow: 0 8px 24px rgb(242 208 98 / 0.35);
}
Naples Yellow
#f2d062 rgb(242, 208, 98) hsl(46, 85%, 67%) Naples Yellow
#6284f2 rgb(98, 132, 242) hsl(226, 85%, 67%) Cornflower Blue
#62f2d0 rgb(98, 242, 208) hsl(166, 85%, 67%) Aquamarine
#d062f2 rgb(208, 98, 242) hsl(286, 85%, 67%) Heliotrope