RAM upgrade MHz difference
Hello, I purchased a 27 inch 2017 iMac recently with standard RAM. I subsequently purchased 2 x 16 GB DDR4 RAM but only realized that the MHz was 2666 MHz. The Apple spec for my iMac is 2400Mhz. Can I still use them? Will it be ok to swap out the basic factory issues RAM (8 GIG) with the new 16 x 2 GIG for 32 GIG or even mix both RAMs for a grand total of 40 GIG RAM? Will it harm the computer if I do? Any advice is most appreciated as I haven’t even opened the new RAM yet just in case I need to resell it so I can get some partial refunding. Please help. Thank you very much in advance.
iMac with Retina 5K display, iOS 11.2.2