When choosing the colors of design elements, take into account their hierarchy.
It’s best to have the secondary buttons visibly “less important”.
Only the most important button should have a strong color and shadow.
If you have any research evidence, that this tip does not work in specific conditions, please share it with us. We will expand the database with that particular case to grow the collective knowledge together.