I read an article that said super bright trim can mess with depth perception for some people. Could make the hallways look warped instead of easier to navigate. Maybe a softer contrast would be safer.
Honestly the real issue is if your house was built by someone who failed geometry. No amount of paint fixes walls that aren't square, and I've seen a few. Maybe just call the whole thing a funhouse and charge admission.