#ECB02E
#ecb02e ≈ Goldenrod
#ecb02e 属于黄系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 92.55% 红、69.02% 绿和 18.04% 蓝组成;采用 CMYK 印刷时需要 0% 青、25.42% 品红、80.51% 黄和 7.45% 黑。 在 HSL 中,它的色相角为 41.05°,饱和度为 83.33%,明度为 55.29%。 这是一种暖色,常让人联想到乐观、醒目和喜悦。 设计师常把它用于强调和警示、儿童产品和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 10.82:1(WCAG AAA)。 最接近的命名颜色是 Goldenrod(#daa520),ΔE 为 3.76。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ff9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.4908 |
暗调
#ecb02e 逐步混入黑色。
亮调
#ecb02e 逐步混入白色。
灰调
#ecb02e 逐步混入灰色。
清晰易读的文字
1.94:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
10.82:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-ecb02e {
color: #ecb02e;
}
背景
.bg-ecb02e {
background-color: #ecb02e;
color: #000000;
}
边框
.border-ecb02e {
border: 2px solid #ecb02e;
}
CSS 变量
:root {
--color-primary: #ecb02e;
--color-primary-rgb: 236 176 46;
--color-primary-hsl: 41 83% 55%;
}
渐变
.gradient-ecb02e {
background: linear-gradient(135deg, #ecb02e, #c9ec2e);
}
彩色阴影
.shadow-ecb02e {
box-shadow: 0 8px 24px rgb(236 176 46 / 0.35);
}
Goldenrod
#ecb02e rgb(236, 176, 46) hsl(41, 83%, 55%) Goldenrod
#2e6aec rgb(46, 106, 236) hsl(221, 83%, 55%) Royal Blue
#2eecb0 rgb(46, 236, 176) hsl(161, 83%, 55%) Medium Spring Green
#b02eec rgb(176, 46, 236) hsl(281, 83%, 55%) Electric Purple