It would be better if you could redesign color pallets for all of the modules altogether in order to maintain visual consistency throughout the UI instead of doing it for individual module. Maintaining visual consistence is like defining unspoken rules, and that’s why default colors codes for buttons are Red and Green for Delete and Save respectively.
“Consider an example closer to home: you wouldn’t spend hours looking for a fork or spoon in your kitchen, would you? Why not? Because they’re in the same place they were last week …and the week before that. It’s logical. You don’t think, you just do. In a way, consistency makes our routine tasks subconscious ones.” -(UX Booth)
Users should feel the same way when they re-visit your app/website, like returning their own home. Harmony in color codes will minimize the learning curve among youyour users resulting into better User Experience.