170k in salary sounds really good but since you say total comp, I'm guessing you have stock options or something. So depending on the percentage and what company it is for, 170k total comp could be good or bad.
My first software job was with a big tech company and the stock only went down after I joined. So my stock options were worthless even 10 years later.