Fixing Low-Contrast Button Colors for WCAG AccessibilityFixing Low-Contrast Button Colors for WCAG Accessibility
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
1 of these buttons fails accessibility. Which one?
B. White on #10B981 is 2.54:1, and WCAG AA needs 4.5:1 for normal text. My fix: the same green two shades darker (#047857), 5.48:1 and still on brand.
Did you get it in 3 seconds?
Follow for more videos: instagram.com/sellwrightstudio · youtube.com/@sellwrightstudio
Moussa's avatar
Got B, that bright green with white text is a classic 😅 Going two shades darker instead of switching to black text is a nice fix, it still feels like the same brand.
Raja's avatar
Nice, you got it fast. Black text would pass too, but it changes the feel of the button, so I try darkening the brand colour first and only switch the text colour when that isn't enough. Do you check contrast in Figma or after the build?
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started