#f2dd5f ≈ Naples Yellow
#f2dd5f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 86.67% green and 37.25% blue; printed in CMYK it uses 0% cyan, 8.68% magenta, 60.74% yellow and 5.1% black. Its hue angle is 51.43°, 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 15.28:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.94.
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.7142 |
Shades
#f2dd5f mixed progressively with black.
Tints
#f2dd5f mixed progressively with white.
Tones
#f2dd5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2dd5f {
color: #f2dd5f;
}
.bg-f2dd5f {
background-color: #f2dd5f;
color: #000000;
}
.border-f2dd5f {
border: 2px solid #f2dd5f;
}
:root {
--color-primary: #f2dd5f;
--color-primary-rgb: 242 221 95;
--color-primary-hsl: 51 85% 66%;
}
.gradient-f2dd5f {
background: linear-gradient(135deg, #f2dd5f, #bdf25f);
}
.shadow-f2dd5f {
box-shadow: 0 8px 24px rgb(242 221 95 / 0.35);
}
Naples Yellow
#f2dd5f rgb(242, 221, 95) hsl(51, 85%, 66%) Naples Yellow
#5f74f2 rgb(95, 116, 242) hsl(231, 85%, 66%) Ultramarine Blue
#5ff2dd rgb(95, 242, 221) hsl(171, 85%, 66%) Turquoise Blue
#dd5ff2 rgb(221, 95, 242) hsl(291, 85%, 66%) Heliotrope