最接近的命名颜色 · #2F7A44
#2F7A44
最接近的命名颜色: Bold Irish
#2F7A44(rgb(47 122 68)、hsl(137 44% 33%)、oklch(0.518 0.112 149.9))最接近命名颜色 Bold Irish。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2F7A44
oklch(0.518 0.112 149.9)
颜色转换
- HEX
- #2f7a44
- RGB
- rgb(47 122 68)
- HSL
- hsl(137 44% 33%)
- HWB
- hwb(137 18% 52%)
- OKLCH
- oklch(0.518 0.112 149.9)
- OKLab
- oklab(0.518 -0.097 0.056)
- CIE Lab
- lab(45.54 -33.85 22.37)
- LCH
- lch(45.54 40.57 146.5)
- CMYK
- cmyk(61% 0% 44% 52%)
浅色调 · 深色调 · 灰色调
浅色调
- 468756
- 5B9467
- 70A179
- 84AE8C
- 98BB9E
- ACC9B1
- C1D6C4
- D5E4D7
- EAF1EB
深色调
- 27693A
- 205930
- 194926
- 123A1D
- 0C2B14
- 061D0C
- 031005
- 010502
- 000100
灰色调
- 3A7B4A
- 447C51
- 4D7C57
- 557D5D
- 5D7E63
- 647E69
- 6B7F6F
- 727F74
- 79807A
配色和谐
互补色 +180°
- 2F7A44
Bold Irish
- 8C4E87
≈ Razzmic Berry
类似色 -30° +30°
- 2F7A44
Bold Irish
- 617118
≈ Fern Frond
- 007A6A
≈ Shady Glade
三角配色 +120° +240°
- 2F7A44
Bold Irish
- 4F64A9
≈ Submarine Base
- 9F4C40
≈ Arabian Red
分裂互补色 +150° +210°
- 2F7A44
Bold Irish
- 73589F
≈ Sumire Violet
- 9B4A66
≈ Baby Berries
四角配色 +90° +180° +270°
- 2F7A44
Bold Irish
- 136FA2
≈ Cat’s Purr
- 8C4E87
≈ Razzmic Berry
- 965615
≈ Fresh Cinnamon
对比度与无障碍
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 {
--bold-irish: #2f7a44;
--bold-irish-rgb: 47 122 68;
--bold-irish-oklch: oklch(0.518 0.112 149.9);
}
.element {
color: var(--bold-irish);
background-color: hsl(137 44% 33%);
border-color: oklch(0.518 0.112 149.9);
}Tailwind CSS v4
@theme {
--color-bold-irish: #2f7a44;
--color-bold-irish-50: #deffe6;
--color-bold-irish-100: #cdf3d6;
--color-bold-irish-200: #b1e3bd;
--color-bold-irish-300: #8bc89b;
--color-bold-irish-400: #6bb17b;
--color-bold-irish-500: #479b5d;
--color-bold-irish-600: #3d834f;
--color-bold-irish-700: #31693f;
--color-bold-irish-800: #244d2b;
--color-bold-irish-900: #18351d;
--color-bold-irish-950: #08200d;
}SCSS
$bold-irish: #2f7a44;
$bold-irish-rgb: 47, 122, 68;
$bold-irish-light: mix(#fff, $bold-irish, 20%);
$bold-irish-dark: mix(#000, $bold-irish, 20%);
.element {
color: $bold-irish;
box-shadow: 0 0 0 2px rgba($bold-irish, 0.35);
}