Bug 37054 would benefit from a color contrast checker. I have created something in JavaScipt. I would like to know if people would prefer using a JS library, or if it would be OK to use something we wrote ourselves?