#FFDA02
#ffda02 ≈ Gold
#ffda02 属于黄系颜色(明度:中等,饱和度:很高)。 在 RGB 模型中,它由 100% 红、85.49% 绿和 0.78% 蓝组成;采用 CMYK 印刷时需要 0% 青、14.51% 品红、99.22% 黄和 0% 黑。 在 HSL 中,它的色相角为 51.23°,饱和度为 100%,明度为 50.39%。 这是一种暖色,常让人联想到乐观、醒目和喜悦。 设计师常把它用于强调和警示、儿童产品和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 15.28:1(WCAG AAA)。 最接近的命名颜色是 Gold(#ffd700),ΔE 为 0.95。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.7141 |
暗调
#ffda02 逐步混入黑色。
亮调
#ffda02 逐步混入白色。
灰调
#ffda02 逐步混入灰色。
清晰易读的文字
1.37:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
15.28:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-ffda02 {
color: #ffda02;
}
背景
.bg-ffda02 {
background-color: #ffda02;
color: #000000;
}
边框
.border-ffda02 {
border: 2px solid #ffda02;
}
CSS 变量
:root {
--color-primary: #ffda02;
--color-primary-rgb: 255 218 2;
--color-primary-hsl: 51 100% 50%;
}
渐变
.gradient-ffda02 {
background: linear-gradient(135deg, #ffda02, #a5ff02);
}
彩色阴影
.shadow-ffda02 {
box-shadow: 0 8px 24px rgb(255 218 2 / 0.35);
}
Gold
#ffda02 rgb(255, 218, 2) hsl(51, 100%, 50%) Gold
#0227ff rgb(2, 39, 255) hsl(231, 100%, 50%) Blue
#02ffda rgb(2, 255, 218) hsl(171, 100%, 50%) Aquamarine
#da02ff rgb(218, 2, 255) hsl(291, 100%, 50%) Electric Purple