Hair color/covering the grey hairs

It’s ok to dye your hair with a non-permanent color at 36 weeks?