Have you religiously sterilised your jars? Are they hot when you put your product in? Having said that, it's fairly normal that they don't stay pristine white, the ones we buy in England (and we created them) are preserved in brown vinegar, so that solves the discolouration problem!!! They are already discoloured from the beginning.
White bought ones have nasty preservatives to keep them white.