Contrast Checks for Neon Palettes
Neon backgrounds pass or fail contrast depending on one choice: text colour.
Rules we follow
We checked every page at 390 pixels wide before calling it done. Phones are where layouts break first, and where most of our readers are.
- Black text on every bright fill
- White text only on black or deep blue
- Check hover colours as well as resting ones
It is tempting to add one more variation. Resist it. Every option you add is one more thing to test, document and eventually delete.
The loudest palette on the web can still be the easiest to read.
Our rule of thumb: if we cannot explain a choice in one sentence to a client, we probably should not ship it.
Borders do a lot of quiet work. They separate content, show what can be clicked and give the eye somewhere to rest.
Performance was not the goal, but it came along anyway. Fewer styles, fewer scripts and fewer images add up quickly.
The first version looked plain. The second version looked busy. The third version, with half the details removed, is the one we kept.
We asked a few readers to try it with a keyboard only. Two of them found problems in under a minute, which is exactly why we asked.
Browser support is no longer the excuse it used to be. Everything in this post works in every current browser without a fallback.
If you only change one thing after reading this, make it the spacing. Consistent gaps make even a rough layout look intentional.
Colour is the last thing we add. Getting the structure right in black and white first saves a lot of arguing later.
None of this is new. It is the same advice print designers have given for a century, moved onto screens.
12 thoughts on “Contrast Checks for Neon Palettes”
Shared this with my students today.
Thanks for reading, glad it helped.
Same here. It took a week to get used to it.
It holds up, as long as the gap stays consistent.
Finally someone says it plainly. Thank you.
Simple and it works. My favourite kind of advice.
This changed how I think about borders.
Saving this for the next time someone asks for rounded corners.
Love that you tested it with a keyboard. So few people do.
The screenshots sold me. Going to rebuild our card grid this weekend.
This is exactly the kind of post that keeps me reading this blog.
I disagree on the shadows, but the rest is spot on.