#F2D64A
#f2d64a ≈ Naples Yellow
#f2d64a 属于黄系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 94.9% 红、83.92% 绿和 29.02% 蓝组成;采用 CMYK 印刷时需要 0% 青、11.57% 品红、69.42% 黄和 5.1% 黑。 在 HSL 中,它的色相角为 50°,饱和度为 86.6%,明度为 61.96%。 这是一种暖色,常让人联想到乐观、醒目和喜悦。 设计师常把它用于强调和警示、儿童产品和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 14.49:1(WCAG AAA)。 最接近的命名颜色是 Naples Yellow(#fada5e),ΔE 为 2.32。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.6746 |
暗调
#f2d64a 逐步混入黑色。
亮调
#f2d64a 逐步混入白色。
灰调
#f2d64a 逐步混入灰色。
清晰易读的文字
1.45:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
14.49:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-f2d64a {
color: #f2d64a;
}
背景
.bg-f2d64a {
background-color: #f2d64a;
color: #000000;
}
边框
.border-f2d64a {
border: 2px solid #f2d64a;
}
CSS 变量
:root {
--color-primary: #f2d64a;
--color-primary-rgb: 242 214 74;
--color-primary-hsl: 50 87% 62%;
}
渐变
.gradient-f2d64a {
background: linear-gradient(135deg, #f2d64a, #baf24a);
}
彩色阴影
.shadow-f2d64a {
box-shadow: 0 8px 24px rgb(242 214 74 / 0.35);
}
Naples Yellow
#f2d64a rgb(242, 214, 74) hsl(50, 87%, 62%) Naples Yellow
#4a66f2 rgb(74, 102, 242) hsl(230, 87%, 62%) Ultramarine Blue
#4af2d6 rgb(74, 242, 214) hsl(170, 87%, 62%) Turquoise Blue
#d64af2 rgb(214, 74, 242) hsl(290, 87%, 62%) Medium Orchid