Are these two compatible?

Solution
Yes they are.

The Z170 motherboard supports overclocking, but the 6700 is a locked CPU. So you wont be able to use the overclocking feature on the z170 board, but it will still work just fine.