wcag-contrast-utils
WCAG Contrast Utils is a TypeScript library for calculating color contrast ratios and checking WCAG 2.1 compliance. Ensure your web designs meet accessibility standards with easy-to-use functions for developers and designers.
wcag-contrast
evaluate the wcag color contrast score for two colors
font-color-contrast
JavaScript module to use black or white font according to the given background color