Home › Perception Science Guide › Peer-Reviewed Research
✓ Cognitively Verified By Nayeli Douglas
ⓘ This comprehensive perception monograph includes neural visual processing models, attentional mechanics, anatomical diagrams, and empirical testing parameters.

Why Two Identical Colors Can Look Different The Checker Shadow Illusion

Visual Science • Psychology • Color Perception
The Science Behind What We See

Imagine looking at a checkerboard where one square appears dark gray and another appears noticeably lighter. The difference seems so obvious that comparing them with a measuring tool feels unnecessary. Yet when their surrounding patterns are removed, something surprising happens: the two squares turn out to have exactly the same shade of gray.

This remarkable experience is known as the checker shadow illusion. It demonstrates that human vision does not operate like a simple instrument that records the brightness of individual points. Instead, the visual system interprets incoming information using surrounding colors, lighting conditions, shadows, patterns, and expectations about the physical world.

Two physically identical shades can look different because the brain interprets their appearance in relation to their surroundings and the illumination it believes is falling on them.

Rather than representing a failure of eyesight, the illusion reveals an important feature of ordinary perception. The same processes that create the illusion also help us recognize familiar objects when they move between sunlight, shade, and artificial lighting.

Understanding this phenomenon provides insight into neuroscience, photography, painting, digital design, and the surprising relationship between physical measurements and visual experience.

Physical Measurement
Identical

Two image regions can contain precisely the same digital color values.

Visual Experience
Different

Their surroundings can make one region appear lighter than the other.

Underlying Process
Context

The visual system interprets brightness and surface properties together.

01 / Interactive Visual Laboratory

Can You Trust Your Eyes? Try the Illusion Yourself

Look carefully at squares A and B in the illustration below. Square A belongs to the darker part of a checkerboard pattern, while square B appears within a shaded region.

Although the surrounding pattern encourages different interpretations, both marked squares have exactly the same digital fill color. Use the controls to remove their visual context or connect them with a continuous strip of matching gray.

Interactive Checker Shadow Demonstration

A B
Look at the two marked squares.

Square A may appear darker than square B, even though their digital gray values are identical.

A
RGB (120, 120, 120)
B
RGB (120, 120, 120)

An original, simplified educational recreation of the checker shadow principle. Both target squares use the exact SVG fill value #787878. The strength of the perceived illusion may vary between viewers and displays.

The connecting strip is especially revealing because it provides an uninterrupted region of the same gray. Once the visual separation disappears, the apparent difference often becomes much less convincing.

Removing the surrounding checkerboard provides another way to demonstrate the effect. Without contrasting neighbors and shadow cues, the two target squares are easier to recognize as identical.

02 / History of Visual Science

Where Did the Checker Shadow Illusion Come From?

The well-known checker shadow illusion was introduced in 1995 by Edward H. Adelson, a researcher at the Massachusetts Institute of Technology whose work includes visual perception and the interpretation of light and surfaces.

The original demonstration presents a checkerboard with a cylindrical object casting a shadow across part of its surface. Two squares are identified with the letters A and B.

Square A appears to be a dark checkerboard square outside the shadow. Square B appears to be a light checkerboard square inside the shadow. Despite their different apparent lightness, the two marked regions have the same image intensity.

The demonstration became widely recognized because its effect is particularly persuasive. Even after learning that the two squares are identical, many observers continue to experience them as different.

This persistence makes the illusion valuable for understanding the distinction between conscious knowledge and automatic visual processing. Knowing the correct measurement does not necessarily change the immediate perceptual experience.

An Important Distinction

The illustration in this article is a simplified recreation of the underlying principle, rather than a reproduction of Adelson’s original image. Its marked squares have identical digital color values by construction.

03 / Perception and Interpretation

Your Brain Does More Than Record an Image

It is tempting to imagine vision as a process in which the eyes capture a picture and the brain simply displays it internally. However, human visual perception is considerably more complex.

Light enters the eye and reaches the retina, where specialized photoreceptor cells respond to incoming light. Neural circuits process this information before signals travel through the visual pathways toward the brain.

These signals contain information about the spatial distribution of light, but they do not directly reveal every property of the objects that produced it.

A dark region could represent a dark material, a lighter material receiving less illumination, or a combination of both. Determining which interpretation is most plausible requires additional information.

01 Light

Illumination reaches objects and is reflected toward the observer.

02 Retina

Photoreceptors respond to the light entering the eye.

03 Processing

Visual pathways analyze contrast, patterns, edges, and other information.

04 Perception

Surfaces and lighting conditions contribute to the resulting experience.

The visual system uses relationships between different parts of a scene to estimate meaningful properties. It considers whether an edge appears to separate two materials or whether it might represent a change in illumination.

This process is highly useful in ordinary environments. Without it, recognizing objects under changing lighting conditions would become much more difficult.

04 / Contextual Brightness

How Simultaneous Contrast Changes the Appearance of Gray

One of the simplest demonstrations of contextual perception is simultaneous brightness contrast. A gray square placed against a dark background frequently appears lighter than an identical gray square placed against a bright background.

Neither square needs to change its physical color for this difference to occur. Changing the surrounding region is sufficient to influence the visual experience.

Both central squares use the identical color #808080. Their surrounding backgrounds are different.

The visual system is sensitive to differences between neighboring regions. This sensitivity helps reveal object boundaries, textures, and other useful details.

In the checker shadow illusion, local contrast contributes to the effect because the marked squares are surrounded by different patterns of lighter and darker regions.

However, the full checker shadow effect cannot be adequately described as a simple comparison between immediately neighboring pixels. The interpretation of shadows and the organization of the entire scene also matter.

Against a Dark Background

A medium-gray region can appear relatively bright because it reflects or emits more light than its immediate surroundings.

Against a Light Background

The same medium-gray region can appear darker because the surrounding area has a greater light intensity.

This relationship is especially important in design and photography, where changing a background can alter the apparent brightness of a foreground element without modifying the foreground itself.

05 / Stable Object Recognition

What Is Lightness Constancy?

Imagine carrying a white notebook from a brightly illuminated room into a dim hallway. The amount of light reaching your eyes from the notebook decreases substantially, yet the notebook usually continues to appear white rather than becoming an entirely different material.

This relative stability is associated with lightness constancy, the tendency to perceive a surface’s lightness as reasonably consistent despite changes in illumination.

Lightness constancy is not perfect. Extremely unusual lighting conditions, ambiguous scenes, and carefully constructed visual demonstrations can produce substantial changes in perceived appearance.

The Visual System Faces an Ambiguous Problem

A surface that sends relatively little light toward the eye could be a dark object under bright illumination or a light object under weak illumination.

By considering the surrounding scene, the visual system can often distinguish between these possibilities well enough to support useful object recognition.

The checker shadow illusion exploits this distinction. The marked square inside the apparent shadow is interpreted as belonging to a lighter surface, even though its image intensity matches that of the darker square outside the shadow.

When a shadow is recognized as a change in illumination, the visual system can partly compensate for its darkening effect. This makes objects within shadows appear closer to their inferred surface lightness.

Such compensation is generally helpful. In an artificial image where identical intensities are deliberately placed in different illumination contexts, however, it can produce a striking perceptual mismatch.

06 / The Physics of Appearance

Why Brightness Depends on More Than the Material Itself

The light reaching an observer from an ordinary surface depends partly on how much illumination reaches that surface and partly on how the material reflects the incoming light.

A white surface reflects a relatively large proportion of visible light under suitable conditions, while a dark surface reflects a smaller proportion. Nevertheless, a dark surface in strong sunlight may send more light toward an observer than a white surface in deep shade.

A Simplified Model of Reflected Light

Reflected Light ≈ Illumination × Reflectance

This simplified relationship illustrates why measured light intensity alone cannot always reveal the intrinsic properties of a surface.

Actual reflected luminance also depends on factors such as surface orientation, reflection characteristics, the direction of illumination, and viewing geometry.

Two Surfaces With the Same Reflected Intensity

Consider a simplified numerical example. Suppose a dark surface reflects 20 percent of the light falling on it, while a lighter surface reflects 80 percent.

Property Dark Surface in Bright Light Light Surface in Shade
Relative illumination 100 units 25 units
Reflectance 20% 80%
Simplified reflected intensity 20 units 20 units
Underlying surface Darker material Lighter material

Both surfaces produce the same numerical result in this idealized example, despite having different reflectance properties.

If the visual system treated reflected intensity as a direct measurement of material lightness, the surfaces would always be interpreted as identical. Context provides additional information that can support a more useful interpretation.

The checker shadow illusion creates a comparable ambiguity within a flat image. Its pattern suggests different surface properties and illumination conditions, even though the marked regions contain matching digital gray values.

07 / Visual Organization

Why the Checkerboard Pattern Makes the Illusion So Convincing

A checkerboard has a highly predictable structure. Light and dark squares alternate in a regular arrangement, allowing the visual system to identify relationships between regions even when part of the board is shaded.

When a shadow crosses this pattern, the alternation remains visible. The shaded light squares may become darker than some unshaded regions, but their position within the pattern continues to suggest that they belong to the lighter category.

The visual system can therefore interpret a square using both its immediate intensity and its structural role within the checkerboard.

Cue 01

Regular Patterns

Repeated alternation provides information about which squares belong to corresponding surface categories.

Cue 02

Shadow Boundaries

Changes in illumination can cross multiple surfaces without necessarily indicating a change in their materials.

Cue 03

Scene Geometry

A visible object and a plausible shadow arrangement encourage the interpretation that part of the board receives less light.

The Importance of Soft Shadow Edges

Many natural shadows contain gradual transitions between brighter and darker regions. These transitions occur partly because light sources have physical size and because surrounding surfaces can contribute indirect illumination.

A gradual darkening that crosses several checkerboard squares can suggest an illumination change rather than a new material boundary.

The checker shadow demonstration combines these cues with the board’s regular pattern. Together, they encourage a consistent interpretation of the depicted scene.

Removing individual cues may weaken the illusion, although the remaining contextual effects can still influence perceived lightness.

08 / Beyond Shades of Gray

Can Identical Colors Also Look Different?

Contextual perception is not restricted to black, white, and gray. Surrounding hues can also influence how a particular color appears.

A muted gray-green sample may seem cooler when placed against a warm orange background and warmer when placed against a blue background. The precise effect depends on the selected colors, their relative lightness, spatial arrangement, and viewing conditions.

Both central samples use the same digital color, #8E9A91. Only the surrounding background colors differ.

This type of contextual color interaction is commonly associated with simultaneous color contrast. It helps explain why selecting colors individually does not always produce the expected result when those colors are combined.

Color Constancy Under Different Lighting

A related phenomenon is color constancy, which describes the relative stability of perceived object color under changes in illumination.

A red apple may be viewed under daylight, warm household lighting, or the cooler illumination of an overcast sky. Each environment changes the spectrum of light reaching the eyes, yet the apple often remains recognizable as red.

The visual system uses information from the broader environment to help interpret these spectral changes. This compensation is useful but incomplete, which is why the same object can still appear noticeably different under different light sources.

Visual Phenomenon Primary Concern Example
Simultaneous brightness contrast Influence of surrounding light and dark regions Identical gray squares on black and white backgrounds
Simultaneous color contrast Influence of surrounding hues Identical green samples against orange and blue
Lightness constancy Relative stability of perceived surface lightness White paper remaining recognizable in shade
Color constancy Relative stability of perceived surface color A red apple under different illumination
09 / Inside the Visual System

What Neuroscience Reveals About Contextual Perception

Visual processing begins before information reaches the cerebral cortex. Neural circuits within the retina already respond to spatial differences in illumination rather than simply transmitting an unprocessed record of every photoreceptor’s activity.

Many retinal ganglion cells possess center-surround receptive fields. Their responses depend on the relationship between illumination in a central region and illumination in surrounding regions.

This organization helps encode spatial contrast, which is useful for detecting boundaries and changes across an image.

Further processing occurs through multiple visual pathways and cortical regions. Neurons respond to characteristics such as orientation, spatial structure, color, motion, and contextual relationships.

Why One Neural Mechanism Is Not the Entire Explanation

Local contrast processing provides part of the foundation for contextual perception, but complex lightness illusions involve broader relationships within a scene.

Researchers investigate how visual systems combine information across different spatial scales and how they distinguish illumination boundaries from material boundaries.

Different scientific models emphasize mechanisms such as contrast normalization, spatial filtering, perceptual grouping, anchoring relationships, and inference about illumination.

There Is More Than One Level of Explanation

The checker shadow illusion should not be attributed exclusively to a single neuron type or a single brain region. Its appearance reflects interactions among multiple visual processes, and researchers continue to investigate how these processes contribute to perceived lightness.

The illusion is particularly interesting because conscious awareness of the physical equality does not necessarily eliminate the perceptual difference.

Visual interpretation occurs largely automatically. We do not need to consciously calculate the illumination of every object before recognizing its surface properties.

10 / Practical Experiments

Simple Experiments You Can Try at Home

Visual illusions become easier to understand when you manipulate the relevant conditions yourself. The following experiments require only ordinary materials or basic digital tools.

Compare Identical Gray Paper Samples

Cut two pieces from the same sheet of gray paper. Place one on a dark background and the other on a white background. Observe whether the samples appear different before placing them next to each other on a neutral surface.

Use a Digital Color Picker

Capture a screenshot of the checker shadow demonstration and open it in an image editor. Sample an unmarked interior area of square A and square B. Avoid the lettering and boundaries. Compare the reported RGB values.

Remove the Surrounding Context

Use an image editor to isolate the two target regions and place them on the same background. Compare their appearance with the original checkerboard arrangement.

Observe White Paper in Different Lighting

Place a white sheet of paper near a window, then move it into a shaded area. Notice how the amount of reflected light changes while the paper remains recognizable as a white object.

Experiment With Surrounding Colors

Create two identical muted color samples in a drawing application. Place one against a warm background and the other against a cool background. Observe whether their apparent hue or brightness changes.

These activities illustrate different aspects of contextual perception. They also demonstrate why physical measurements and visual judgments can provide different kinds of information.

For the digital color-picker experiment, display processing, screenshot conversion, and image compression can occasionally affect reported values. Sampling the original SVG fill values provides the most direct verification of the demonstration’s intended equality.

11 / Real-World Applications

Why This Illusion Matters Beyond Psychology Experiments

The principles behind the checker shadow illusion appear in numerous professional and everyday activities. Anyone who works with images, colors, lighting, or visual communication can benefit from understanding how context influences appearance.

Creative Application 01

Website and Interface Design

A gray text label can appear differently against a white page, a dark navigation bar, or a colored card. Designers must consider the complete interface rather than judging individual colors in isolation.

Measured contrast ratios remain important for accessibility, while visual testing helps evaluate readability and perceived hierarchy.

Creative Application 02

Photography and Image Editing

Photographers use exposure, local contrast, shadow adjustments, and surrounding tones to influence the appearance of subjects.

Two regions with similar numerical brightness may serve very different visual roles because of their position within the photograph.

Creative Application 03

Painting and Illustration

Artists can suggest convincing illumination by arranging relative lightness values. A painted shadow may appear natural because of its relationship to surrounding surfaces rather than because of its isolated pigment color.

Understanding these relationships helps artists create depth and realistic lighting on a flat surface.

Creative Application 04

Interior Design

A wall paint sample may appear different in a showroom, beside wooden furniture, or under warm household lighting.

Evaluating samples in their intended environment provides more useful information than examining them under unrelated lighting conditions.

Technical Application 05

Computer Vision

Image-processing systems face the challenge of distinguishing material properties from illumination changes.

Shadow detection, image segmentation, and intrinsic image decomposition are examples of research areas concerned with related problems.

Technical Application 06

Film and Digital Rendering

Computer-generated environments use carefully arranged lighting, shadows, surface materials, and color grading to communicate depth and atmosphere.

Contextual relationships help make rendered scenes appear coherent and believable.

Why Designers Should Compare Colors in Their Final Context

A color palette may appear harmonious when displayed as a row of isolated samples. Once those colors are applied to buttons, backgrounds, illustrations, and text, their perceived relationships can change.

For example, a neutral gray selected for secondary text may appear unexpectedly weak against a particular colored background. Changing the background can improve its apparent prominence without altering the text color.

However, perceived improvement should not replace objective accessibility checks. Both measured contrast and real viewing conditions deserve attention.

12 / Everyday Observation

Why the Same Object Looks Different Throughout the Day

Imagine a building with a pale exterior photographed in the morning, at midday, and shortly before sunset. Its material has not necessarily changed, but its appearance can vary considerably.

Morning illumination may create long shadows. Midday sunlight may produce stronger illumination on certain surfaces, while evening light can introduce warmer tones.

Nearby buildings, vegetation, pavement, and the sky can also reflect light onto the exterior, changing the illumination that reaches different areas.

The visual system continually interprets these changing conditions. A photograph, however, captures a particular distribution of light at a particular moment, and its appearance also depends on camera settings and image processing.

This is why a paint color, piece of clothing, or furniture finish can appear different in photographs taken under different conditions without any physical change to the object itself.

Appearance Is a Relationship, Not Just a Number

Digital color values describe an encoded image. Physical reflectance describes how a material interacts with incoming light. Perceived appearance describes the observer’s visual experience.

These three concepts are related, but they are not interchangeable. The checker shadow illusion makes their differences particularly easy to observe.

13 / Separating Fact From Misunderstanding

Common Misconceptions About Optical Illusions

Common Belief Scientific Explanation
Optical illusions happen because the eyes are defective. Many illusions arise from normal visual processing and contextual interpretation.
Identical RGB values must always look identical. Surrounding colors, patterns, illumination cues, and display conditions can influence perceived appearance.
Learning the explanation makes the illusion disappear permanently. Automatic perceptual processing can persist despite conscious knowledge of the physical measurements.
Every optical illusion has the same neurological explanation. Different illusions involve different combinations of spatial, temporal, contextual, and interpretive processes.
The checker shadow illusion proves that vision is useless. It demonstrates how useful perceptual mechanisms can produce unexpected results in carefully constructed scenes.
Brightness and lightness mean exactly the same thing. In vision science, brightness concerns perceived light intensity, while lightness concerns perceived surface reflectance relative to a reference.

Optical illusions should not be interpreted as evidence that perception is completely unreliable. Human vision performs remarkably well in environments where illumination, distance, and viewing conditions constantly change.

Illusions are valuable precisely because they expose the assumptions and contextual relationships that normally support successful perception.

Frequently Asked Questions

Are squares A and B really the same color?

Yes. In the interactive illustration provided here, both squares use the exact digital fill value #787878, corresponding to RGB values of 120, 120, and 120.

Who introduced the checker shadow illusion?

The well-known original checker shadow demonstration was introduced by Edward H. Adelson at the Massachusetts Institute of Technology in 1995.

Why does square B appear lighter?

Its surrounding pattern and apparent shadow encourage the visual system to interpret it as a lighter surface receiving less illumination. Local contrast also contributes to the perceived difference.

Does the illusion mean something is wrong with my eyesight?

No. Experiencing this illusion is consistent with ordinary visual processing. Its strength can vary between individuals and viewing conditions.

Why does connecting the squares reveal their equality?

A continuous strip of matching gray reduces their visual separation and provides a direct connection between regions that otherwise belong to different contextual arrangements.

Is the checker shadow illusion caused only by surrounding colors?

No. Local contrast is important, but the interpretation of illumination, shadow boundaries, checkerboard organization, and broader scene structure also contributes.

Can identical colors appear different on a website?

Yes. Background colors, neighboring elements, screen brightness, and visual adaptation can influence the appearance of identical digital color values.

What is the difference between lightness and brightness?

Brightness refers to perceived light intensity. Lightness refers to the perceived reflectance of a surface relative to an appropriate reference. Their relationship depends on illumination and viewing conditions.

Can a camera detect the difference between identical gray regions?

A camera records incoming light according to its sensor characteristics and processing settings. An image editor can directly compare encoded pixel values, but identical values do not necessarily produce identical perceived appearances.

Why do colors look different under warm and cool lighting?

Different light sources have different spectral characteristics. These differences change the light reflected by surfaces, while the visual system partly compensates through color constancy and adaptation.

Do all people experience the illusion equally strongly?

Not necessarily. Viewing distance, display properties, surrounding illumination, visual characteristics, and individual perceptual differences can influence the strength of the effect.

Can knowing about the illusion improve color selection?

Yes. Understanding contextual perception encourages designers, artists, and photographers to evaluate colors within their intended surroundings rather than relying exclusively on isolated samples.

Why are optical illusions useful to scientists?

They allow researchers to investigate how visual processing responds when physical image properties and perceived appearance diverge. This can help reveal the mechanisms supporting ordinary perception.

Does changing screen brightness remove the illusion?

Not necessarily. Changing display brightness affects the viewing conditions, but the contextual relationships responsible for the illusion can remain present.

Is the checker shadow illusion the same as color constancy?

They are related but not identical. The checker shadow illusion primarily demonstrates contextual lightness perception and illumination interpretation, while color constancy concerns the relative stability of perceived color under changing illumination.

Final Perspective

Seeing Is More Than Measuring Light

The checker shadow illusion reveals a fundamental characteristic of human vision: perceived appearance depends on relationships within a scene, not simply on the physical intensity of individual image regions.

Two identical gray squares can appear different because the visual system interprets them using surrounding contrast, patterns, shadow boundaries, and information about possible illumination conditions.

Although this interpretation produces an unexpected result in a carefully constructed image, the underlying processes are valuable in everyday life. They help us recognize familiar materials, distinguish objects from shadows, and maintain relatively stable perceptions as lighting conditions change.

The same principles have practical implications for website design, photography, painting, interior decoration, digital rendering, and computer vision. Understanding them encourages a more thoughtful approach to evaluating colors and visual relationships.

Perhaps the most interesting aspect of the illusion is that knowing the truth does not always change what we see. We can verify that two squares are physically identical while continuing to experience them as different.

The visual world is not merely a collection of colors and brightness values. It is an interpretation shaped by context, relationships, and the remarkable information-processing abilities of the human visual system.

Leave a Comment