Main electric service & range hood vent
NEC 110.34 (F) says, "pipes or ducts foreign to the electrical installation and requiring periodic maintenance or whose malfunction would endanger the operation of the electrical system shall not be located in the vicinity of the service equipment, switchgear, or industrial control assemblies. Protection shall be provided where necessary to avoid damage from condensation leaks and breaks in such foreign systems..." Beyond this, I don't see anything else in the NEC that might speak to your issue. It doesn't sound like your installation plan would endanger the operation of the electrical system, but that is a question you will have to answer. I did a web search for California building codes but turned up nothing that specifically addressed your situation.