What Determines Eye Color? Genetics and Melanin Explained

Eye color is determined primarily by the amount and type of a pigment called melanin in your iris, controlled by a complex network of at least 50 genes. The old model taught in school, where brown is simply “dominant” over blue, turned out to be wrong. Two people with blue eyes can have a brown-eyed child, and the full spectrum of eye colors results from multiple genes interacting with each other across different steps of the pigment-production pathway.

Melanin Does the Heavy Lifting

Your iris doesn’t actually contain blue, green, or hazel pigment. It contains melanin, and the variation in color comes down to how much melanin is present and what kind it is. Brown eyes have a high concentration of melanin. Blue eyes have very little, and the blue appearance comes from light scattering off the iris’s structure, similar to how the sky appears blue even though the atmosphere isn’t pigmented.

There are two types of melanin in the iris: eumelanin (dark brown to black) and pheomelanin (reddish-yellow). Research analyzing irises of different colors found that green eyes are associated with a higher proportion of pheomelanin, which gives them that warm, yellowish-green tone. Brown eyes tend to have a mix of both types. Blue eyes have so little total pigment that the type barely matters. This means your eye color isn’t just about quantity of melanin. It’s also about the ratio of these two pigment types.

The Key Genes Behind Eye Color

Two genes on chromosome 15 play the biggest roles. The first, called OCA2, produces a protein involved in building melanosomes, the tiny cellular structures where melanin is made and stored. Common variations in OCA2 reduce how much of this protein your cells produce. Less protein means less melanin in the iris, which means lighter eyes.

The second gene, HERC2, doesn’t make pigment itself. Instead, a specific region of HERC2 acts as a switch that controls whether OCA2 is turned on or off. A single variation in this switch region can dial down OCA2 activity, reducing melanin production and leading to blue or lighter-colored eyes. So even if your OCA2 gene is perfectly capable of producing lots of pigment, HERC2 can override it.

But these two genes are far from the whole story. A large genetic study of nearly 195,000 people across 10 populations identified over 50 locations in the genome that influence eye color. Many of these contribute small effects that, combined, produce the range of shades between pure blue and dark brown. This genetic complexity is why eye color doesn’t follow the neat, predictable patterns of a simple dominant-recessive trait.

Why the Simple Genetics Model Is Wrong

For decades, biology classes taught that brown eyes are dominant and blue eyes are recessive, implying two blue-eyed parents could never have a brown-eyed child. Geneticist Victor McKusick pointed out that this has been “repeatedly shown to be wrong by observation of brown-eyed offspring of two blue-eyed parents.” It happens more often than you’d think.

The explanation lies in the multi-step nature of pigment production. Making melanin and depositing it into the iris requires a chain of biological steps, each influenced by different genes. One blue-eyed parent might carry mutations affecting one step in the pathway, while the other parent carries mutations affecting a completely different step. Neither parent makes enough melanin for brown eyes. But their child can inherit working copies of both steps, producing more pigment than either parent. At least seven genes are known to cause different forms of reduced pigmentation when mutated, and many more influence the process in subtler ways.

When Babies’ Eyes Settle on a Color

Most babies are born with eyes that appear blue or grayish-blue, especially those with lighter skin. This isn’t their final color. Melanin production in the iris ramps up after birth once the cells responsible for pigment, called melanocytes, are exposed to light. Color typically begins shifting between 3 and 9 months of age, often around the 6-month mark. However, it can take up to three years for a child’s permanent eye color to fully develop. If your baby has dark brown eyes at birth, those are likely to stay brown, since that already indicates high melanin production.

Global Distribution of Eye Colors

Brown is by far the most common eye color worldwide, found in over 50% of the global population. It’s nearly universal in populations from East Asia, South Asia, Africa, and much of Latin America. Blue eyes are most concentrated in Northern and Eastern Europe, with the highest rates in Scandinavian countries and the Baltic region. Green eyes are the rarest common color, occurring in only about 2% of people globally, and are most frequently seen in people of Northern and Western European descent, particularly in Ireland and Scotland.

Hazel and gray eyes fall somewhere in between in both pigmentation and prevalence. Hazel eyes contain moderate melanin with a mix of eumelanin and pheomelanin, creating the brownish-green or golden appearance that can seem to shift color depending on lighting.

Heterochromia: Two Different Eye Colors

Some people have two different-colored eyes, a condition called heterochromia. It can affect the entire iris (complete heterochromia, where each eye is a different color) or just a portion of one iris (sectoral heterochromia, where a wedge of one eye is a different shade).

Most cases present at birth are harmless and result from uneven distribution of melanin during development. Certain genetic conditions can also cause it, including Waardenburg syndrome, which affects pigment-producing cells as they migrate during embryonic development, and congenital Horner syndrome, where disrupted nerve signaling to one eye leads to less melanin on that side.

Heterochromia can also develop later in life. Eye injuries, inflammation, iron deposits in the eye, and even certain eyedrops used for glaucoma (prostaglandin analogs) can darken or lighten one iris over time. When heterochromia appears suddenly in an adult, it’s worth having evaluated since it occasionally signals an underlying condition.

Red and Violet Eyes in Albinism

Truly red or violet eyes are extremely rare and occur almost exclusively in people with albinism, where the body produces very little or no melanin. Without pigment in the iris, light passes straight through and reflects off the blood vessels in the retina at the back of the eye, giving the iris a pink or reddish appearance. In some cases, a small amount of residual pigment combines with this effect to create a violet hue. The retina itself can appear orange or yellow because, without its normal pigment layer, the blood vessels beneath become visible.

Eye Color and Health Risks

Melanin in the iris isn’t just cosmetic. It helps shield the eye from ultraviolet light, which means lighter eye colors come with some trade-offs. People with blue or hazel eyes have a significantly higher prevalence of age-related macular degeneration compared to those with brown eyes. Research comparing white patients with different eye colors found a clear association: lighter irises correlated with more macular degeneration. Brown-eyed individuals, across races and populations, consistently show lower rates.

Lighter eyes are also more sensitive to bright light, since less pigment means less natural filtering of incoming light. On the flip side, some research suggests that lighter-eyed individuals may have slightly better vision in low-light conditions, though the effect is modest. If you have light-colored eyes, wearing UV-protective sunglasses outdoors is one of the simplest ways to offset the reduced natural protection.