The latter movies had: white (command), science/ship's services (blue/grey), medical (green), helm/engineering (yellow), security (black, purple), cadet/trainee (red).
The yellow ochre color used for the engineering division is much closer to orange than to yellow. It should probably be termed "yellowish ochre", ochre being family of colors based on a reddish-brown pigment.
The complete roster of divisions during this period entailed:
White - Command (admin, command, diplomacy, intel, legal)
Yellow Ochre (Orange) - Engineering (engineering, helm, weapons)
Grey - Science (communications, navigation, science)
Light Green - Medical
Windsor Green - Security
Sky Blue - Special Services (cooks, musicians, etc.)
Royal Blue - Ground forces? Commandos? (seen on assault party members in TFF)
Flame Red - Cadets and Trainees