DEV Community

Cover image for ๐Ÿ–Œ๏ธ Contrastly โ€” Instantly Check Tailwind Colors Against WCAG AA/AAA
Yoko
Yoko

Posted on

๐Ÿ–Œ๏ธ Contrastly โ€” Instantly Check Tailwind Colors Against WCAG AA/AAA

I often found myself double-checking Tailwind colors against WCAG contrast rules.
So I built a tiny tool: Contrastly.

Pick a Tailwind token โ†’ see AA/AAA pass/fail instantly.

Iโ€™d love to hear if itโ€™s useful for you, or if thereโ€™s an edge case I missed. Feedback welcome ๐Ÿ™Œ

๐Ÿ‘‰ https://www.contrastly.yokotools.dev/

Would you use this in your workflow?

Top comments (6)

Collapse
 
jess profile image
Jess Lee

This is awesome!

Collapse
 
yokoworks profile image
Yoko

Thanks!

Collapse
 
masterdevsabith profile image
Muhammed Sabith

๐Ÿ”ฅโค๏ธ

Collapse
 
yokoworks profile image
Yoko

Thanks! ๐Ÿ”ฅโค๏ธ

Collapse
 
iampraveen profile image
Praveen Rajamani

Cool tool! This makes checking colour contrast with Tailwind so much easier.

Collapse
 
yokoworks profile image
Yoko

Appreciate it! Happy it makes things easier ๐Ÿ”ฅ