a11y-contrast-color

A utility library for calculating luminance, contrast ratio, and appropriate contrast colors to ensure web accessibility.

color-is-dark

Returns whether the given rgb color array has a YIQ brightness value of less than 128 (50% brightness).