#D8A74E
#d8a74e ≈ Indian Yellow
#d8a74e 属于橙系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 84.71% 红、65.49% 绿和 30.59% 蓝组成;采用 CMYK 印刷时需要 0% 青、22.69% 品红、63.89% 黄和 15.29% 黑。 在 HSL 中,它的色相角为 38.7°,饱和度为 63.89%,明度为 57.65%。 这是一种暖色,常让人联想到热忱、温暖和创造力。 设计师常把它用于行动号召按钮、食品品牌和餐厅和品牌点缀色。 在此颜色上使用黑色文字时,对比度为 9.56:1(WCAG AAA)。 最接近的命名颜色是 Indian Yellow(#e3a857),ΔE 为 3.7。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc9966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.4279 |
暗调
#d8a74e 逐步混入黑色。
亮调
#d8a74e 逐步混入白色。
灰调
#d8a74e 逐步混入灰色。
清晰易读的文字
2.2:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
9.56:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-d8a74e {
color: #d8a74e;
}
背景
.bg-d8a74e {
background-color: #d8a74e;
color: #000000;
}
边框
.border-d8a74e {
border: 2px solid #d8a74e;
}
CSS 变量
:root {
--color-primary: #d8a74e;
--color-primary-rgb: 216 167 78;
--color-primary-hsl: 39 64% 58%;
}
渐变
.gradient-d8a74e {
background: linear-gradient(135deg, #d8a74e, #c4d84e);
}
彩色阴影
.shadow-d8a74e {
box-shadow: 0 8px 24px rgb(216 167 78 / 0.35);
}
Indian Yellow
#d8a74e rgb(216, 167, 78) hsl(39, 64%, 58%) Indian Yellow
#4e7fd8 rgb(78, 127, 216) hsl(219, 64%, 58%) Tufts Blue
#4ed8a7 rgb(78, 216, 167) hsl(159, 64%, 58%) Caribbean Green
#a74ed8 rgb(167, 78, 216) hsl(279, 64%, 58%) Medium Orchid