Color contrast is important for accessibility, but it's hard to figure out because:
- Web color codes aren't intuitive.
- Luminosity calculations are complicated.
- There are different accessibility critera for large text.
- Contrast critera are buried in the middle of the guidelines.
HTML5 color input
elements and JavaScript to the rescue!