#338A4E
#338a4e ≈ Sea Green
#338a4e 属于绿系颜色(明度:较低,饱和度:中等)。 在 RGB 模型中,它由 20% 红、54.12% 绿和 30.59% 蓝组成;采用 CMYK 印刷时需要 63.04% 青、0% 品红、43.48% 黄和 45.88% 黑。 在 HSL 中,它的色相角为 138.62°,饱和度为 46.03%,明度为 37.06%。 它介于冷暖之间,常让人联想到自然、健康和平衡。 设计师常把它用于环保品牌、健康与养生和品牌点缀色。 在此颜色上使用黑色文字时,对比度为 4.89:1(WCAG AA)。 最接近的命名颜色是 Sea Green(#2e8b57),ΔE 为 2.17。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #339966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1943 |
暗调
#338a4e 逐步混入黑色。
亮调
#338a4e 逐步混入白色。
灰调
#338a4e 逐步混入灰色。
清晰易读的文字
4.3:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
清晰易读的文字
4.89:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-338a4e {
color: #338a4e;
}
背景
.bg-338a4e {
background-color: #338a4e;
color: #000000;
}
边框
.border-338a4e {
border: 2px solid #338a4e;
}
CSS 变量
:root {
--color-primary: #338a4e;
--color-primary-rgb: 51 138 78;
--color-primary-hsl: 139 46% 37%;
}
渐变
.gradient-338a4e {
background: linear-gradient(135deg, #338a4e, #338a7a);
}
彩色阴影
.shadow-338a4e {
box-shadow: 0 8px 24px rgb(51 138 78 / 0.35);
}
Sea Green
#338a4e rgb(51, 138, 78) hsl(139, 46%, 37%) Sea Green
#8a336f rgb(138, 51, 111) hsl(319, 46%, 37%) Boysenberry
#4e338a rgb(78, 51, 138) hsl(259, 46%, 37%) Dark Slate Blue
#8a4e33 rgb(138, 78, 51) hsl(19, 46%, 37%) Sienna