Use a dark pattern on a light background and preserve its clear margin. Light-on-dark artwork may work in some scanners, so verify with the devices your audience will use before relying on it.
Check the finished background, not just the swatches
Yep QR requires the pattern to be darker than the background and a contrast ratio of at least 4.5:1. Its color templates give you a starting point. Reflections and nearby artwork can still affect a scan.
Compare a colored code with a black-and-white control
- Generate a black-and-white code for https://example.com/ and read it back.
- Choose a tested color template and download a second version at the same dimensions.
- Place both in the layout and scan at the intended size and lighting. Verify that both return the same address.
If a branded color is too light
Use a darker shade for the modules or add a plain light panel underneath. When testing inverted artwork from another tool, keep a conventional copy available and compare results across scanners.
Frequently asked questions
Can the quiet zone match the background color?
It can use the same light tone if it stays uniform and free of text or patterns.