Quanome.

Can DNA predict eye color? The HERC2/OCA2 story

Genetics explainer · Updated June 2026

Eye color is one of the first things people ask about genetics: can a DNA test tell you whether your eyes are blue or brown? The honest answer is "mostly, but not perfectly." Almost all of that story runs through a single, well-studied variant — rs12913832 — sitting near the genes HERC2 and OCA2. Here's how it works, and why it's a probability rather than a promise.

Quick reference: for more on the pigmentation markers in your raw data, browse the Quanome gene library.

What actually colors an eye

Iris color comes down mostly to one pigment: melanin. The more melanin packed into the front layer of the iris, the browner the eye. With less melanin, more light scatters back out, and the eye looks blue — much the way the sky looks blue without actually containing blue pigment. Green and hazel sit in between, with moderate melanin plus some scattering.

So the genetic question isn't "which gene paints the eye blue?" It's "which genes control how much melanin ends up in the iris?"

The HERC2/OCA2 switch

The single biggest answer is a variant called rs12913832. It lives inside the HERC2 gene, but its real job is to act as a control switch for the neighboring OCA2 gene — one of the main genes that builds melanin.

In people of European ancestry, this one location explains a large fraction of the blue-versus-brown difference. That's unusually powerful — most traits are spread thinly across hundreds of genes, but here a single switch does much of the heavy lifting. It's also why blue eyes are thought to trace back to a shared ancestral change in this region.

Why it's a tendency, not a guarantee

Even though rs12913832 is the dominant factor, eye color is still polygenic — many genes contribute. Other pigmentation genes nudge the outcome, especially toward the intermediate shades. That's why prediction is uneven:

So two people can share the same genotype at rs12913832 and still have visibly different eyes. The genetics set a strong leaning; the final color reflects the whole genetic background plus the ordinary variability of how an iris develops. This is exactly why eye color runs in families without obeying the tidy single-gene rules many of us were taught in school.

"Largely but not entirely genetic"

It's fair to say eye color is largely genetic — most of the variation between people is inherited, which is why it clusters so strongly within families and ancestries. But "largely" isn't "entirely." Eye color can shift in the first year of life as melanin accumulates, and the polygenic nature means there's real spread around any prediction. Genetics gives you the odds, not a verdict.

That framing matters for every trait, not just this one: a DNA marker describes a tendency across many people with that genotype, not a fixed fact about you. rs12913832 is simply one of the clearer examples — strong enough to be genuinely predictive, but still probabilistic.

What forensic models add

Because the link is so strong, researchers built tools that predict eye color from DNA for forensic use, combining rs12913832 with a handful of other markers. These models do well on blue and brown and openly acknowledge that intermediate colors remain a weak spot. The takeaway is consistent: more markers improve the estimate, but none of them turn a tendency into a certainty.

The bottom line

Yes — DNA can predict eye color surprisingly well, and most of that power comes from a single switch near HERC2/OCA2. But it predicts a probability, not a guarantee. Blue and brown are the easy cases; green and hazel keep geneticists humble; and the whole picture is a reminder that even a "strong" genetic marker describes a leaning, not a destiny. This page is educational, not medical advice.

Note: this is general educational information about a well-studied trait, not a diagnosis or medical guidance. Pigmentation genetics has no health implications on its own.

To see which pigmentation and other markers sit in your own file, browse the Quanome gene library, try the DNA explorer (it reads your file in your browser, nothing uploaded), or read more on the Quanome blog.

Explore your own pigmentation markers privately

Quanome reads your raw DNA on your device and surfaces well-studied markers like rs12913832 — without uploading your genome. Learn more about Quanome →

Frequently asked questions

Can DNA tests predict eye color?

Reasonably well, but not perfectly. A single variant near HERC2 (rs12913832) explains a large share of the blue-versus-brown difference in people of European ancestry. Forensic models that combine several markers can predict blue or brown eyes with high accuracy, but intermediate colors like green and hazel are much harder to call.

What does rs12913832 do?

It sits in an intron of the HERC2 gene and acts as a switch that controls how active the nearby OCA2 gene is. OCA2 helps make melanin in the iris. The variant that turns OCA2 activity down is associated with less melanin and blue eyes; the other version keeps OCA2 active and is associated with brown eyes.

Why do some people's eye color not match their DNA?

Eye color is polygenic — many genes contribute, and rs12913832 is the largest but not the only factor. Other pigmentation genes, rare variants, and developmental chance all play a role, so two people with the same genotype can have noticeably different eyes.

Is eye color purely genetic?

Largely, but not entirely. Most of the variation is inherited, which is why eye color runs strongly in families. But it is a tendency shaped by many genes rather than a single guaranteed outcome, and this is educational, not medical advice.

Get Quanome at launch

Interested in making sense of your DNA and health data privately? Join the waitlist for early access.

Try the iOS beta →

Free TestFlight beta for iPhone. Not on iOS? Leave your email and we'll keep you posted (and ping you when Android lands).