#F0DF4E
#f0df4e ≈ Dandelion
#f0df4e 属于黄系颜色(明度:较高,饱和度:较高)。 在 RGB 模型中,它由 94.12% 红、87.45% 绿和 30.59% 蓝组成;采用 CMYK 印刷时需要 0% 青、7.08% 品红、67.5% 黄和 5.88% 黑。 在 HSL 中,它的色相角为 53.7°,饱和度为 84.38%,明度为 62.35%。 这是一种暖色,常让人联想到乐观、醒目和喜悦。 设计师常把它用于强调和警示、儿童产品和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 15.37:1(WCAG AAA)。 最接近的命名颜色是 Dandelion(#f0e130),ΔE 为 2.39。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.7185 |
暗调
#f0df4e 逐步混入黑色。
亮调
#f0df4e 逐步混入白色。
灰调
#f0df4e 逐步混入灰色。
清晰易读的文字
1.37:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
15.37:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-f0df4e {
color: #f0df4e;
}
背景
.bg-f0df4e {
background-color: #f0df4e;
color: #000000;
}
边框
.border-f0df4e {
border: 2px solid #f0df4e;
}
CSS 变量
:root {
--color-primary: #f0df4e;
--color-primary-rgb: 240 223 78;
--color-primary-hsl: 54 84% 62%;
}
渐变
.gradient-f0df4e {
background: linear-gradient(135deg, #f0df4e, #b0f04e);
}
彩色阴影
.shadow-f0df4e {
box-shadow: 0 8px 24px rgb(240 223 78 / 0.35);
}
Dandelion
#f0df4e rgb(240, 223, 78) hsl(54, 84%, 62%) Dandelion
#4e5ff0 rgb(78, 95, 240) hsl(234, 84%, 62%) Ultramarine Blue
#4ef0df rgb(78, 240, 223) hsl(174, 84%, 62%) Bright Turquoise
#df4ef0 rgb(223, 78, 240) hsl(294, 84%, 62%) Fuchsia