最接近的命名颜色 · #2A7A4D
#2A7A4D
最接近的命名颜色: Woodland Soul
#2A7A4D(rgb(42 122 77)、hsl(146 49% 32%)、oklch(0.519 0.106 155.1))最接近命名颜色 Woodland Soul。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2A7A4D
oklch(0.519 0.106 155.1)
颜色转换
- HEX
- #2a7a4d
- RGB
- rgb(42 122 77)
- HSL
- hsl(146 49% 32%)
- HWB
- hwb(146 16% 52%)
- OKLCH
- oklch(0.519 0.106 155.1)
- OKLab
- oklab(0.519 -0.096 0.044)
- CIE Lab
- lab(45.52 -33.7 17.27)
- LCH
- lch(45.52 37.87 152.9)
- CMYK
- cmyk(66% 0% 37% 52%)
浅色调 · 深色调 · 灰色调
浅色调
- 43875E
- 59946E
- 6EA17F
- 82AE91
- 97BBA2
- ABC9B4
- C0D6C7
- D5E4D9
- EAF1EC
深色调
- 236942
- 1C5937
- 16492C
- 103A22
- 0A2B18
- 051D0F
- 021007
- 010502
- 000100
灰色调
- 377B52
- 417C57
- 4B7C5D
- 537D62
- 5B7E67
- 637E6C
- 6B7F71
- 727F76
- 79807B
配色和谐
互补色 +180°
- 2A7A4D
Woodland Soul
- 8D4F80
≈ Razzmic Berry
类似色 -30° +30°
- 2A7A4D
Woodland Soul
- 5A7327
≈ Fern Frond
- 00796F
≈ Pond Moss
三角配色 +120° +240°
- 2A7A4D
Woodland Soul
- 5762A5
≈ Submarine Base
- 9B503D
≈ Sōdenkaracha Brown
分裂互补色 +150° +210°
- 2A7A4D
Woodland Soul
- 775799
≈ Juneberry
- 9A4C60
≈ Baby Berries
四角配色 +90° +180° +270°
- 2A7A4D
Woodland Soul
- 2A6EA1
≈ Deep Water
- 8D4F80
≈ Razzmic Berry
- 915A18
≈ Afghan Carpet
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--woodland-soul: #2a7a4d;
--woodland-soul-rgb: 42 122 77;
--woodland-soul-oklch: oklch(0.519 0.106 155.1);
}
.element {
color: var(--woodland-soul);
background-color: hsl(146 49% 32%);
border-color: oklch(0.519 0.106 155.1);
}Tailwind CSS v4
@theme {
--color-woodland-soul: #2a7a4d;
--color-woodland-soul-50: #deffe9;
--color-woodland-soul-100: #ccf3da;
--color-woodland-soul-200: #b0e2c3;
--color-woodland-soul-300: #89c8a2;
--color-woodland-soul-400: #68b183;
--color-woodland-soul-500: #429b67;
--color-woodland-soul-600: #398357;
--color-woodland-soul-700: #2e6946;
--color-woodland-soul-800: #224d31;
--color-woodland-soul-900: #163521;
--color-woodland-soul-950: #072010;
}SCSS
$woodland-soul: #2a7a4d;
$woodland-soul-rgb: 42, 122, 77;
$woodland-soul-light: mix(#fff, $woodland-soul, 20%);
$woodland-soul-dark: mix(#000, $woodland-soul, 20%);
.element {
color: $woodland-soul;
box-shadow: 0 0 0 2px rgba($woodland-soul, 0.35);
}