Why Do Eyes Have Color: Melanin, Genes & More

Your eyes get their color from melanin, the same pigment that colors your skin and hair. But the story is more interesting than that: blue eyes contain no blue pigment at all, and the full spectrum of eye colors comes from just two types of melanin combined with a light-scattering trick of physics.

How Melanin Creates Eye Color

The colored ring around your pupil is called the iris, and it’s packed with pigment-producing cells called melanocytes. These cells make two types of melanin: eumelanin, which is dark brown-black, and pheomelanin, which is a lighter reddish-yellow. The ratio of these two pigments, and especially the density of pigment-containing structures in the iris, determines where your eyes fall on the color spectrum.

Someone with deep brown eyes has two to four times more melanin in their iris than someone with light blue eyes. A graded increase in pigment density produces a continuous spectrum: blue at the low end, then gray, green, hazel, and brown at the high end. More subtle differences between grays, hazels, and greens come from individual variation in the ratio of the two pigment types. Amber eyes, for instance, get their golden tone from a higher concentration of pheomelanin relative to eumelanin.

Why Blue Eyes Have No Blue Pigment

No human iris contains blue or green pigment. People with blue eyes have an essentially colorless iris with very little melanin. When light enters this unpigmented tissue, shorter blue wavelengths scatter back toward the observer while longer wavelengths pass through. This is called the Tyndall effect, and it’s the same reason the sky looks blue.

Because the color depends on available light rather than a fixed pigment, blue eyes can appear to shift shade in different lighting conditions. Green eyes work similarly but with a small amount of melanin present. Light scattering through that trace of pigment produces a green hue instead of blue. Brown eyes, by contrast, have so much melanin that nearly all incoming light is absorbed, and what you see is the pigment itself rather than scattered light.

The Genetics Behind Eye Color

Eye color was once taught as a simple dominant-recessive trait, with brown always winning over blue. The reality is far more complex. A recent genome-wide study identified over 50 genetic locations associated with eye color, making it one of the more genetically intricate traits in humans.

Two genes on chromosome 15 play the biggest roles. OCA2 produces a protein involved in melanin production, and HERC2 acts as a switch that controls how much OCA2 is expressed. A single variation in HERC2 (known as rs12913832) is the strongest predictor of blue versus brown eyes. The ancestral version of this gene allows the OCA2 gene to produce melanin at full capacity, resulting in brown eyes. A newer, derived version reduces that gene’s activity, cutting melanin production and producing lighter eyes. Other variations in OCA2 and dozens of additional genes create smaller additive effects that help explain the wide range of intermediate colors like hazel and green.

One Mutation Started It All

Every person with blue eyes traces that trait back to a single genetic mutation in a single individual who lived in Europe or the Near East. DNA extracted from ancient human remains shows the blue-eye variant was already present 13,000 to 14,000 years ago in locations as far apart as northern Italy and the Caucasus mountains. The original carrier likely lived sometime between 14,000 and 54,000 years ago, after modern humans left Africa but before these populations spread widely across Europe.

Some genetic simulations place the mutation even earlier, around 42,000 years ago, roughly when modern humans first arrived in Europe. If that timeline is accurate, the mutation probably originated in the Near East and was carried into western and central Europe by migrating hunter-gatherers.

How Common Each Eye Color Is

Brown is overwhelmingly the most common eye color worldwide, found in 70% to 80% of the global population. Blue eyes account for 8% to 10%, hazel about 5%, and green is the rarest common color at roughly 2%. The concentration of lighter eye colors is highest in Northern Europe and drops sharply in populations closer to the equator, where higher melanin levels provide more protection from ultraviolet light.

Why Babies’ Eyes Often Change Color

Most babies are born with lighter, blue-gray eyes because their melanocytes haven’t yet been activated by light. In the uterus, there’s very little light exposure, so pigment production stays low. Once a newborn’s eyes encounter light, those cells begin producing melanin, and eye color can start deepening or shifting between 3 and 9 months of age, often around the six-month mark.

The process isn’t always fast. It can take up to three years for a child’s final eye color to settle. Babies who will eventually have brown eyes tend to show darkening earlier, while those who end up with green or hazel may take longer to reach their permanent shade.

When Eye Color Changes in Adults

Once your eye color stabilizes in early childhood, it generally stays put. A noticeable change in an adult’s eye color can signal a medical problem. Inflammatory conditions like uveitis can alter the iris. Pigment dispersion syndrome causes pigment to flake off the iris, potentially leading to a lighter appearance along with blurred vision and glaucoma. Glaucoma medications themselves can also darken the iris over time. A condition called Fuchs heterochromic iridocyclitis causes pigment loss in one eye, making the two eyes noticeably different colors.

Heterochromia: Two Different Eye Colors

Some people are born with eyes that are two different colors, or with patches of different color within the same eye. This is called heterochromia, and in most cases it results from a harmless genetic mutation that only affects melanin distribution in the iris. The mutation can occur randomly or be inherited. It doesn’t affect eye health or vision.

Less commonly, heterochromia develops from an eye injury, an underlying condition that disrupts melanocyte function, or as a side effect of certain eye drops. When heterochromia appears for the first time in adulthood, it’s worth investigating, but the congenital version is purely cosmetic.

Eye Color and Health Risks

The amount and type of melanin in your iris does more than determine color. It also influences your risk for certain eye conditions. Lighter-eyed people carry more pheomelanin and less eumelanin, and pheomelanin appears to handle light-induced stress differently, potentially accumulating genetic damage over time.

This shows up most clearly in uveal melanoma, a rare cancer of the eye’s pigmented tissues. In a study of Dutch patients, people with green or hazel eyes had roughly 3.6 times the risk of developing uveal melanoma compared to those with brown eyes. Blue or gray eyes carried about 1.4 times the risk. The pattern was even more pronounced for melanoma of the iris specifically: in one cohort, 21 of 23 iris melanoma patients had blue or gray eyes, and none had brown eyes. Multiple studies across Canada, the United States, Germany, France, and Australia have confirmed that lighter eye color correlates with higher incidence of this cancer.

The protective factor in brown eyes is eumelanin, which absorbs ultraviolet radiation more effectively and produces fewer harmful byproducts than pheomelanin does. This is the same reason darker skin offers more UV protection, just playing out on a smaller scale inside the eye.