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