#f0d142 ≈ Naples Yellow
#f0d142 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 81.96% green and 25.88% blue; printed in CMYK it uses 0% cyan, 12.92% magenta, 72.5% yellow and 5.88% black. Its hue angle is 49.31°, with 85.29% saturation and 60% 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.9:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.91.
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.6452 |
Shades
#f0d142 mixed progressively with black.
Tints
#f0d142 mixed progressively with white.
Tones
#f0d142 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0d142 {
color: #f0d142;
}
.bg-f0d142 {
background-color: #f0d142;
color: #000000;
}
.border-f0d142 {
border: 2px solid #f0d142;
}
:root {
--color-primary: #f0d142;
--color-primary-rgb: 240 209 66;
--color-primary-hsl: 49 85% 60%;
}
.gradient-f0d142 {
background: linear-gradient(135deg, #f0d142, #b8f042);
}
.shadow-f0d142 {
box-shadow: 0 8px 24px rgb(240 209 66 / 0.35);
}
Naples Yellow
#f0d142 rgb(240, 209, 66) hsl(49, 85%, 60%) Naples Yellow
#4261f0 rgb(66, 97, 240) hsl(229, 85%, 60%) Ultramarine Blue
#42f0d1 rgb(66, 240, 209) hsl(169, 85%, 60%) Turquoise
#d142f0 rgb(209, 66, 240) hsl(289, 85%, 60%) Medium Orchid