#4E8A28
#4e8a28 ≈ Forest Green
#4e8a28 属于绿系颜色(明度:较低,饱和度:中等)。 在 RGB 模型中,它由 30.59% 红、54.12% 绿和 15.69% 蓝组成;采用 CMYK 印刷时需要 43.48% 青、0% 品红、71.01% 黄和 45.88% 黑。 在 HSL 中,它的色相角为 96.73°,饱和度为 55.06%,明度为 34.9%。 它介于冷暖之间,常让人联想到自然、健康和平衡。 设计师常把它用于环保品牌、健康与养生和企业形象。 在此颜色上使用黑色文字时,对比度为 4.99:1(WCAG AA)。 最接近的命名颜色是 Forest Green(#228b22),ΔE 为 4.64。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #669933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1995 |
暗调
#4e8a28 逐步混入黑色。
亮调
#4e8a28 逐步混入白色。
灰调
#4e8a28 逐步混入灰色。
清晰易读的文字
4.21:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
清晰易读的文字
4.99:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-4e8a28 {
color: #4e8a28;
}
背景
.bg-4e8a28 {
background-color: #4e8a28;
color: #000000;
}
边框
.border-4e8a28 {
border: 2px solid #4e8a28;
}
CSS 变量
:root {
--color-primary: #4e8a28;
--color-primary-rgb: 78 138 40;
--color-primary-hsl: 97 55% 35%;
}
渐变
.gradient-4e8a28 {
background: linear-gradient(135deg, #4e8a28, #288a33);
}
彩色阴影
.shadow-4e8a28 {
box-shadow: 0 8px 24px rgb(78 138 40 / 0.35);
}
Forest Green
#4e8a28 rgb(78, 138, 40) hsl(97, 55%, 35%) Forest Green
#64288a rgb(100, 40, 138) hsl(277, 55%, 35%) Rebecca Purple
#284e8a rgb(40, 78, 138) hsl(217, 55%, 35%) Yale Blue
#8a284e rgb(138, 40, 78) hsl(337, 55%, 35%) Boysenberry