Is it normal to have yellow discharge one day before my period?

Yes. It could be a prelude to your period. It will probably start on time at day 38. It is only an issue if it is foul smelling, itchy, or profuse...Then you want to be seen.