Hi,
Welcome to the ehealthforum and I am really glad to help you out.
These yellow spots can be due to fatty deposits or tiny blood vessels that have ruptured. The other possibility is of a a pinguecula, which is a fatty deposit that occurs on either side of the colored part of the eye on the white part of the eye.
Pingueculas are harmless but can become irritated, red and sore. In that case, lubricating eye drops, Steroid eye drops or nonsteroidal anti-inflammatory drugs and surgical removal may be needed. Hence you should consult an eye specialist to get these spots evaluated and then discuss the treatment options with them.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care.