If that H170 board has a BIOS installed that supports kaby lake then yes it is compatible. If it does not you will need a compatible skylake cpu in order to install a BIOS that add's compatibility for kaby lake.
Also you will not be able to overclock the CPU with that board or use memory speeds higher than 2400mhz.