最接近的命名颜色 · #2B8362
#2B8362
最接近的命名颜色: Shadows of Time
#2B8362(rgb(43 131 98)、hsl(158 51% 34%)、oklch(0.549 0.098 164.4))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2B8362
oklch(0.549 0.098 164.4)
颜色转换
- HEX
- #2b8362
- RGB
- rgb(43 131 98)
- HSL
- hsl(158 51% 34%)
- HWB
- hwb(158 17% 49%)
- OKLCH
- oklch(0.549 0.098 164.4)
- OKLab
- oklab(0.549 -0.095 0.026)
- CIE Lab
- lab(48.94 -33.52 9.93)
- LCH
- lch(48.94 34.96 163.5)
- CMYK
- cmyk(67% 0% 25% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 458F71
- 5B9B7F
- 70A78E
- 85B49E
- 99C0AD
- ADCCBD
- C2D9CD
- D6E6DE
- EAF2EE
深色调
- 247154
- 1D6047
- 164F3A
- 103F2D
- 0A2F21
- 052016
- 02120B
- 010603
- 000100
灰色调
- 388365
- 438368
- 4D836B
- 55826E
- 5D8271
- 658274
- 6C8177
- 73817A
- 7A817D
配色和谐
互补色 +180°
- 2B8362
Shadows of Time
- 99597F
≈ Immortality
类似色 -30° +30°
- 2B8362
Shadows of Time
- 587E40
≈ Mangrove Leaf
- 008281
≈ Windows 95 Desktop
三角配色 +120° +240°
- 2B8362
Shadows of Time
- 6B68A8
≈ Inner Journey
- A05D3F
≈ Sepia Skin
分裂互补色 +150° +210°
- 2B8362
Shadows of Time
- 865F99
≈ Wisteria Purple
- A2585F
≈ Beef Jerky
四角配色 +90° +180° +270°
- 2B8362
Shadows of Time
- 4773A9
≈ Song of the Sea
- 99597F
≈ Immortality
- 936825
≈ Armageddon Dunes
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #2b8362;
--shadows-of-time-rgb: 43 131 98;
--shadows-of-time-oklch: oklch(0.549 0.098 164.4);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(158 51% 34%);
border-color: oklch(0.549 0.098 164.4);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #2b8362;
--color-shadows-of-time-50: #dcffef;
--color-shadows-of-time-100: #caf3e1;
--color-shadows-of-time-200: #ade2cb;
--color-shadows-of-time-300: #85c8ac;
--color-shadows-of-time-400: #62b18f;
--color-shadows-of-time-500: #389a75;
--color-shadows-of-time-600: #328363;
--color-shadows-of-time-700: #28694f;
--color-shadows-of-time-800: #1d4d38;
--color-shadows-of-time-900: #133526;
--color-shadows-of-time-950: #042015;
}SCSS
$shadows-of-time: #2b8362;
$shadows-of-time-rgb: 43, 131, 98;
$shadows-of-time-light: mix(#fff, $shadows-of-time, 20%);
$shadows-of-time-dark: mix(#000, $shadows-of-time, 20%);
.element {
color: $shadows-of-time;
box-shadow: 0 0 0 2px rgba($shadows-of-time, 0.35);
}