it sounds like you may have jaundice. Jaundice causes yellowing of the whites of the eyes, but there is usually an underlying cause for the jaundice. I have included a link below to a site with a little info on jaundice and it's causes, maybe you could have a read and make an appointment to see your doctor.
jaundice is a symptom where the skin and the eyes become yellow. It is associated with the accumulation of bilirubin in the skin. This is most often caused by liver and gallbladder disorders.
Jaundice-associated conditions include:
viral hepatitis (hepatitis a, hepatitis b, hepatitis c, hepatitis d, and hepatitis e)
obstruction of the bile ducts (by infection, tumor, biliary stricture or gallstones)
pancreatic carcinoma (cancer of the pancreas)
cirrhosis (all causes)
primary biliary cirrhosis
drug induced cholestasis (bile pools in the liver because of the effects of drugs)
drug induced hepatitis (hepatitis triggered by medications)
ischemic hepatitis (jaundice caused by inadequate oxygen and/or inadequate blood flow to the liver)
congenital disorders of bilirubin metabolism
intrahepatic cholestasis of pregnancy (bile pools in the liver)
for more information, see the symptom document about jaundice, also see the individual diseases.
yellow sclera (the white part of the eyes)
other symptoms may also be present depending on the specific disorder.
Signs and tests
physical examination will show jaundice. Other signs may also be present, such as liver enlargement (hepatomegaly) with some of the disorders.
Tests will vary but will probably include liver function tests to determine how well the liver is working. See the specific disorders.
all of the jaundice-associated conditions required medical diagnosis and treatment (in some cases, the only treatment may be observation but always consult with your health care provider first).
the outcome varies.
complications vary, but can include liver failure (life-threatening).
Calling your health care provider
jaundice in an infant, child, or adult should always be medically evaluated!
prevention depends on the specific disorder.