There is no exact rule that you need to follow. You can make your wooden stairs lighter or darker than your floor - just make sure that the colours that you pick compliment each other.