Eye color comes from the amount and type of pigment in your iris, controlled by at least 16 genes working together. The two most influential genes, OCA2 and HERC2, sit close together on chromosome 15 and do most of the heavy lifting. But the full picture involves light physics, dozens of additional genes, and a few surprises that overturn what many of us learned in school.
Melanin Is the Only Pigment
Every eye color, from the deepest brown to the palest blue, comes down to one substance: melanin. Your iris contains cells called melanocytes, and every person has roughly the same number of them. What differs is how much melanin those cells produce and pack into tiny structures called melanosomes. Brown eyes have a dense concentration of melanin in the front layer of the iris (the stroma). Blue eyes have very little. Green and hazel fall somewhere in between.
Melanin itself comes in two forms. The dominant type is a dark brown-black variety responsible for deep brown and black eye colors. A second, reddish-yellow variety plays a smaller role in most people. The notable exception is green eyes, where the reddish-yellow form is present in higher concentrations relative to the brown-black form. That unusual ratio, combined with moderate overall pigment levels, produces green’s distinctive appearance.
Why Blue Eyes Have No Blue Pigment
There is no blue pigment anywhere in a blue eye. The color is an optical illusion created by the same physics that make the sky look blue. When the iris stroma contains almost no melanin, incoming light passes through a translucent layer filled with tiny collagen particles roughly 0.6 micrometers across. These particles scatter shorter wavelengths of light (blue) back toward the observer while longer wavelengths (red, yellow) pass deeper into the eye and get absorbed. This phenomenon, called Tyndall scattering, is why blue eyes can look slightly different shades depending on lighting conditions.
Gray eyes work similarly but with subtle differences in the size and density of scattering particles, producing a cooler, more muted tone. Green eyes combine moderate melanin with enough scattering to blend the yellowish pigment with scattered blue light, creating that in-between hue.
The Two Genes That Matter Most
OCA2 produces a protein (called the P protein) that helps melanosomes mature and store melanin. Common variations in this gene reduce how much of that protein gets made, which means less melanin in the iris and lighter eye color. HERC2, its neighbor on chromosome 15, acts as a control switch. A specific segment of HERC2 can turn OCA2’s activity up or down. At least one common variation in HERC2 dials down OCA2 expression, reducing melanin production and leading to lighter eyes.
Together, these two genes account for the majority of the difference between brown and blue eyes. But they don’t explain everything. A large genetic study of nearly 195,000 people from 10 populations identified over 50 additional locations in the genome that influence eye color, on top of roughly a dozen genes already known from earlier research. The full list includes genes also involved in skin and hair pigmentation. This genetic complexity is why eye color exists on a continuous spectrum rather than falling neatly into three or four categories.
Why Two Blue-Eyed Parents Can Have a Brown-Eyed Child
The old model taught in biology class was simple: brown is dominant, blue is recessive, one gene controls it all. Under that model, two blue-eyed parents could never produce a brown-eyed child. That model is wrong. Because eye color involves so many genes, two blue-eyed parents can carry gene variants at other locations that, in the right combination, produce enough melanin for brown eyes in their child. It’s uncommon, but it happens, and it’s been well documented.
This polygenic inheritance also explains why siblings with the same parents can end up with noticeably different eye colors. Each child receives a unique shuffle of variants across all the contributing genes, so outcomes within a single family can span a wider range than the old dominant-recessive model would predict.
When Babies’ Eyes Change Color
Most babies are born with lighter, blue-gray eyes because their melanocytes haven’t yet been fully stimulated by light. Once exposed to the world, those cells ramp up pigment production, and eye color typically begins shifting between 3 and 9 months of age, often around 6 months. The process isn’t always fast. Final eye color may not be fully established until a child is about 3 years old.
Babies born with very dark brown eyes tend to keep them, since their melanocytes were already producing high levels of melanin. The dramatic shifts, from newborn blue to eventual brown or hazel, happen most often in children of European descent, where the underlying genetics allow for a wider range of pigment outcomes.
How Common Each Color Is
Brown is by far the most common eye color worldwide, carried by the vast majority of people. Hazel and amber together account for roughly 10% of the global population. Gray eyes and other unusual shades make up about 3%. Green is the rarest at around 2% globally, though it’s more common in certain regions. In the United States, about 9% of people have green eyes.
Geography matters. Blue eyes are most common in northern Europe and become progressively rarer closer to the equator. All blue-eyed people alive today trace that trait back to a single mutation in a single individual who lived in Europe or the Near East more than 14,000 years ago. Genetic analysis of ancient remains shows this variant was already widespread among northern European hunter-gatherers around 8,000 years ago, suggesting it spread remarkably quickly through those populations.
Heterochromia: Two Different Eye Colors
Some people have eyes that are two different colors, a condition called heterochromia. It can also appear as two colors within the same iris. In many cases, it’s completely benign and simply the result of genetic variation. During early development, a random mutation or genetic recombination can create cells with slightly different instructions for melanin production, leading one eye to end up darker than the other.
Less commonly, heterochromia signals an underlying condition. Congenital Horner syndrome can cause one iris to be lighter, alongside a smaller pupil and slight drooping of the eyelid on the same side. Waardenburg syndrome pairs heterochromia with hearing loss and distinctive facial features. Heterochromia that develops later in life can result from eye injury, inflammation, iron deposits in the eye, or certain medications. Someone whose eye color changes noticeably as an adult should have it evaluated, since acquired heterochromia sometimes points to a treatable problem.
Can DNA Tests Predict Eye Color?
Forensic scientists use a tool called the IrisPlex system, which analyzes six genetic markers to predict whether someone has blue, brown, or intermediate (green/hazel) eyes. For people of Western European descent, it works well, exceeding 90% accuracy for blue and brown predictions. Brown eye prediction is especially reliable, with sensitivity reaching 99% in some populations.
The system struggles more with intermediate eye colors and with populations outside Western Europe. In a study of Kazakh individuals, prediction accuracy for blue eyes dropped considerably, and the system failed to identify intermediate eye colors at all. The core issue is that the tool was built on Western European genetic data, and populations with different ancestral backgrounds carry different combinations of the dozens of genes involved. Predicting green, hazel, and amber shades remains a challenge even with the best current technology, precisely because so many genes contribute small, overlapping effects.

