Associate was removing hydraulic pipe from excavator boom. When fitting was loosened, pressurized hydraulic oil (cold) sprayed EE in the face causing EE's hard hat to be pushed back and EE's safety glasses to come off. Associate flushed eyes with eye wash but was taken to Emergency Room for discomfort as a precautionary measure.