最接近的命名颜色 · #2F7A4B
#2F7A4B
最接近的命名颜色: Woodland Soul
#2F7A4B(rgb(47 122 75)、hsl(142 44% 33%)、oklch(0.52 0.105 153.1))最接近命名颜色 Woodland Soul。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2F7A4B
oklch(0.52 0.105 153.1)
颜色转换
- HEX
- #2f7a4b
- RGB
- rgb(47 122 75)
- HSL
- hsl(142 44% 33%)
- HWB
- hwb(142 18% 52%)
- OKLCH
- oklch(0.52 0.105 153.1)
- OKLab
- oklab(0.52 -0.094 0.048)
- CIE Lab
- lab(45.65 -32.86 18.61)
- LCH
- lch(45.65 37.76 150.5)
- CMYK
- cmyk(61% 0% 39% 52%)
浅色调 · 深色调 · 灰色调
浅色调
- 46875C
- 5C946D
- 70A17E
- 84AE90
- 98BBA2
- ADC9B4
- C1D6C6
- D5E4D9
- EAF1EC
深色调
- 276940
- 205935
- 19492B
- 123A21
- 0C2B17
- 061D0E
- 031006
- 010502
- 000100
灰色调
- 3A7B51
- 447C56
- 4D7C5B
- 557D61
- 5D7E66
- 647E6B
- 6B7F70
- 727F76
- 79807B
配色和谐
互补色 +180°
- 2F7A4B
Woodland Soul
- 8C5083
≈ Razzmic Berry
类似色 -30° +30°
- 2F7A4B
Woodland Soul
- 5D7226
≈ Fiji Green
- 007A6E
≈ Pond Moss
三角配色 +120° +240°
- 2F7A4B
Woodland Soul
- 5563A5
≈ Submarine Base
- 9C5040
≈ Boynton Canyon
分裂互补色 +150° +210°
- 2F7A4B
Woodland Soul
- 75599A
≈ Juneberry
- 9A4D63
≈ Baby Berries
四角配色 +90° +180° +270°
- 2F7A4B
Woodland Soul
- 276FA0
≈ Deep Water
- 8C5083
≈ Razzmic Berry
- 935A1C
≈ Afghan Carpet
对比度与无障碍
Ag
AA白底
WCAG 5.24:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.00:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--woodland-soul: #2f7a4b;
--woodland-soul-rgb: 47 122 75;
--woodland-soul-oklch: oklch(0.52 0.105 153.1);
}
.element {
color: var(--woodland-soul);
background-color: hsl(142 44% 33%);
border-color: oklch(0.52 0.105 153.1);
}Tailwind CSS v4
@theme {
--color-woodland-soul: #2f7a4b;
--color-woodland-soul-50: #deffe8;
--color-woodland-soul-100: #cdf3d9;
--color-woodland-soul-200: #b1e2c1;
--color-woodland-soul-300: #8cc8a0;
--color-woodland-soul-400: #6bb181;
--color-woodland-soul-500: #479a64;
--color-woodland-soul-600: #3d8255;
--color-woodland-soul-700: #316844;
--color-woodland-soul-800: #244d2f;
--color-woodland-soul-900: #183520;
--color-woodland-soul-950: #08200f;
}SCSS
$woodland-soul: #2f7a4b;
$woodland-soul-rgb: 47, 122, 75;
$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);
}