Eye Color Science

Eye Color Genetics: What Actually Determines Your Eye Color

Your eye color isn’t random. It’s the result of specific genes controlling exactly how much melanin your iris produces — and the science behind it is far more interesting than the simple dominant/recessive rules you learned in school.

MyEye Team·28 April 2026·10 min read

Curious about your own eye color?

The MyEye scanner identifies your exact color and rarity in seconds.

Identify My Eye Color →

The old rule was wrong

Most of us were taught that eye color follows simple Mendelian genetics: brown is dominant, blue is recessive, and two parents with the same eye color will reliably produce children with that same color. This is not true — and it hasn’t been true in genetics textbooks for decades.

The reality is that eye color is polygenic — determined by the combined effect of at least 16 different genes, not one. This is why two brown-eyed parents can have a blue-eyed child. It’s why siblings can have noticeably different eye colors. And it’s why eye color exists on a spectrum — from near-black to nearly colourless — rather than in three tidy boxes.

What actually determines eye color: melanin and the iris

Every human iris contains the same pigment: melanin. The differences between eye colors come entirely from how much melanin is present and where it sits in the iris layers.

  • Dark brown eyes have high melanin concentration in both the anterior (front) and posterior layers of the iris stroma.
  • Hazel and green eyes have moderate melanin, mostly in the anterior layer, combined with structural effects that shift the apparent colour toward green or gold.
  • Blue and grey eyes have very low melanin in the anterior stroma. The blue appearance is not from blue pigment — it’s caused by Rayleigh scattering, the same optical phenomenon that makes the sky look blue. Short-wavelength light scatters more than long-wavelength light through the low-density iris tissue.

This means there is no “blue pigment” in blue eyes. Everyone with blue, grey, or green eyes has the same brown melanin — just less of it, and positioned differently.

The key genes: OCA2 and HERC2

Of the 16+ genes involved in eye colour, two dominate the conversation:

OCA2

The OCA2 gene (chromosome 15) encodes a protein that controls melanin production in melanocytes — the pigment-producing cells in the iris. Higher OCA2 activity = more melanin = darker eyes. Mutations that reduce OCA2 activity produce lighter eyes and, at the extreme, albinism (absent eye pigmentation).

HERC2

HERC2 is the gene that most people with blue eyes can trace their ancestry to — literally. Located right next to OCA2 on the same chromosome, HERC2 contains a regulatory region that acts as a switch for OCA2. A specific single-nucleotide polymorphism (SNP) in HERC2 — rs12913832 — reduces OCA2 activity significantly.

A landmark 2008 study traced the blue-eye version of this SNP to a single founder mutation that occurred somewhere around the Black Sea approximately 6,000–10,000 years ago. Every person alive with blue eyes today carries a variant of this same mutation — meaning all blue-eyed humans share a common ancestor in terms of this specific genetic change.

Why siblings can have completely different eye colors

Because each parent passes one of their two copies of each gene to a child, and the combination is random, two children from the same parents can receive very different combinations of eye-color variants.

Consider two brown-eyed parents who both carry one copy of the “low OCA2 activity” HERC2 variant alongside one “normal” copy. Each child has a 25% chance of inheriting the low-OCA2 variant from both parents — and those children will likely have blue eyes. The other 75% will have brown or intermediate eyes. Across multiple children, you’d expect roughly 1 in 4 to have blue eyes — exactly as Mendelian probability predicts at the single-gene level, even though the overall system is far more complex.

The 16+ gene picture

Beyond OCA2 and HERC2, genome-wide association studies (GWAS) have identified additional genes that fine-tune eye color:

GeneRole in eye color
OCA2Primary melanin production regulator — the main switch
HERC2Regulates OCA2 expression — key blue-eye locus
SLC45A2Melanin transport; variants associated with lighter eyes and skin
SLC24A4Ion transport in melanocytes; linked to blue/hazel variation
TYRTyrosinase enzyme — catalyses the first step of melanin synthesis
TYRP1Works with TYR; variants shift brown toward red-brown
ASIPAgouti signalling protein; affects melanin type (eu- vs phaeomelanin)
IRF4Transcription factor; linked to skin, hair, and eye pigmentation together
KITLGStem cell factor; affects melanocyte migration during development
TPCN2Lysosomal channel; variants associated with lighter hair and eyes

Can eyes genuinely change color?

This is one of the most common eye colour questions — and the answer depends on what kind of “change” you mean.

Apparent changes (not real)

Eyes appear to change color constantly depending on:

  • Pupil size — A dilated pupil makes the iris look darker and smaller; a constricted pupil makes it appear larger and potentially brighter.
  • Surrounding colours — A grey iris next to a blue top looks bluer; the same iris next to brown will appear greener. The brain adjusts colour perception relative to context.
  • Lighting — Warm yellow light amplifies yellow and amber tones; cool blue light suppresses them. Hazel and green eyes shift noticeably under different light sources.

Real changes

True, permanent changes in eye color do occur in two phases of life and under certain medical conditions:

  • Infancy — Most babies are born with blue or grey eyes because melanin production is low at birth. Melanin increases over the first 6–12 months, often shifting eyes to their “true” colour by age 1–2. Darker-skinned babies typically have brown pigment from birth.
  • Medical conditions — Horner’s syndrome can cause one eye to become permanently lighter. Fuchs heterochromic iridocyclitis causes the affected eye to change over months to years. Certain medications, including glaucoma drops (prostaglandin analogues like latanoprost), can permanently darken iris colour.

If your eye color has changed recently — particularly if only one eye has changed, or if the change is accompanied by any discomfort — it’s worth seeing an ophthalmologist.

Eye color and ancestry

Eye colour distributions vary dramatically by geography and ancestry, which directly reflects the underlying gene frequencies:

RegionBrownBlue / GreyGreen / Hazel
Northern Europe (Finland, Iceland)~15%~70%~15%
Central Europe (Germany, Poland)~40%~35%~25%
Southern Europe (Italy, Greece)~65%~15%~20%
Middle East~85%~5%~10%
East Asia~98%<1%<1%
Sub-Saharan Africa~99%<1%<1%
United States (average)~45%~27%~28%

Blue and grey eyes are essentially absent outside of European and Central Asian ancestry populations — not because those populations are biologically different in any meaningful way, but because the HERC2 founder mutation spread through specific migration patterns from its origin point roughly 8,000 years ago.

DNA testing and eye color prediction

Modern consumer DNA tests (23andMe, AncestryDNA) can predict eye colour from your genotype with ~90% accuracy for the brown/blue distinction, primarily based on the HERC2 rs12913832 variant. The accuracy drops for the intermediate colours — green, hazel, and amber — because these involve more genes in combinations that are harder to predict from a small set of markers.

Forensic DNA phenotyping (predicting eye colour from DNA found at a crime scene) uses a panel of 6 SNPs from genes including OCA2, HERC2, SLC45A2, SLC24A4, and TYR with ~94% accuracy for brown vs. blue distinction.

What shade are your eyes, exactly?

Eye color genetics predicts the broad category — brown, blue, green — but not the exact shade. The difference between warm brown and near-black, between pure blue and steel grey, between lime green and amber hazel, involves additional genetic variants and the specific physical structure of your iris.

The MyEye scanner photographs your iris and identifies your exact color — including sub-shades like ice blue, central heterochromia, amber with hazel rings, or sectoral heterochromia where one sector of the iris is a different colour. It also tells you how rare your specific shade is.

Frequently asked questions

What gene determines eye color?

The most important gene for eye color is OCA2, located on chromosome 15. It controls the production of melanin in the iris. A nearby gene, HERC2, regulates whether OCA2 is switched on or off — a single DNA variant in HERC2 is responsible for most cases of blue eyes worldwide. At least 16 other genes contribute to the full range of eye colors.

How is eye color inherited?

Eye color is polygenic — controlled by multiple genes, not a single dominant/recessive gene pair. This is why two brown-eyed parents can have a blue-eyed child (if both carry unexpressed OCA2 variants), and why siblings from the same parents can have noticeably different eye colors. The old 'brown is dominant over blue' rule is a simplification that doesn't hold in all cases.

Can eye color change over time?

Yes, but within limits. Newborns often have blue or grey eyes that darken within the first 6–12 months as melanin production increases. Some people notice their eyes appear lighter or darker depending on lighting, mood, or what they're wearing — this is an optical illusion caused by pupil size changes, not actual pigment change. True permanent eye color change in adulthood is rare and can indicate a medical condition (Horner's syndrome, Fuchs heterochromic iridocyclitis) worth checking with a doctor.

Why do two brown-eyed parents have a blue-eyed child?

Because eye color is polygenic and both parents can carry recessive alleles of OCA2 or HERC2 without expressing them. If both parents pass a blue-associated HERC2 variant to the child, the child's OCA2 gene is turned down significantly and the iris produces little melanin — resulting in blue eyes. This happens in roughly 1 in 4 cases when both parents are heterozygous for the relevant variants.

What is the rarest eye color genetically?

Red/violet eyes (caused by complete absence of melanin and visibility of blood vessels beneath the iris) are the rarest, occurring almost exclusively in albinism. Among non-albino populations, green eyes are the rarest at approximately 2% globally — they require a specific combination of moderate OCA2 activity and additional pigment-related gene variants.

Find out your exact eye color

Upload a photo of your eye. The AI identifies your precise color, sub-shade, and global rarity — in under 30 seconds.

Scan My Eye Color Free →