#F2D8A2
#f2d8a2 ≈ Wheat
#f2d8a2 属于黄系颜色(明度:较高,饱和度:中等)。 在 RGB 模型中,它由 94.9% 红、84.71% 绿和 63.53% 蓝组成;采用 CMYK 印刷时需要 0% 青、10.74% 品红、33.06% 黄和 5.1% 黑。 在 HSL 中,它的色相角为 40.5°,饱和度为 75.47%,明度为 79.22%。 这是一种暖色,常让人联想到乐观、醒目和喜悦。 设计师常把它用于强调和警示、儿童产品和柔和的马卡龙配色。 在此颜色上使用黑色文字时,对比度为 15.12:1(WCAG AAA)。 最接近的命名颜色是 Wheat(#f5deb3),ΔE 为 3.01。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.706 |
暗调
#f2d8a2 逐步混入黑色。
亮调
#f2d8a2 逐步混入白色。
灰调
#f2d8a2 逐步混入灰色。
清晰易读的文字
1.39:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
15.12:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-f2d8a2 {
color: #f2d8a2;
}
背景
.bg-f2d8a2 {
background-color: #f2d8a2;
color: #000000;
}
边框
.border-f2d8a2 {
border: 2px solid #f2d8a2;
}
CSS 变量
:root {
--color-primary: #f2d8a2;
--color-primary-rgb: 242 216 162;
--color-primary-hsl: 41 75% 79%;
}
渐变
.gradient-f2d8a2 {
background: linear-gradient(135deg, #f2d8a2, #e4f2a2);
}
彩色阴影
.shadow-f2d8a2 {
box-shadow: 0 8px 24px rgb(242 216 162 / 0.35);
}
Wheat
#f2d8a2 rgb(242, 216, 162) hsl(41, 75%, 79%) Wheat
#a2bcf2 rgb(162, 188, 242) hsl(221, 75%, 79%) Light Steel Blue
#a2f2d8 rgb(162, 242, 216) hsl(161, 75%, 79%) Magic Mint
#d8a2f2 rgb(216, 162, 242) hsl(281, 75%, 79%) Mauve