Package
wcag-contrast
evaluate the wcag color contrast score for two colors
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 118.8k
- +86% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 6 years ago
- v3.0.0
- GitHub stars
- 130
- 7 forks
- Open issues / PRs
- 1 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
118,781 downloads last week, 532,175 in the last month. The 12-month change of +86% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 3.0.0, 5 Nov 20196 years ago
- First published
- -
- Last push to GitHub
- 18 Aug 20202,229 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 133
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 24 kB
- Dependencies (1)
relative-luminance
npm install wcag-contrast- jsDelivr
https://cdn.jsdelivr.net/npm/wcag-contrast@3.0.0/ - unpkg
https://unpkg.com/wcag-contrast@3.0.0/ - esm.sh
https://esm.sh/wcag-contrast@3.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| color-combos | 11.6k | - | 7 months ago | ESM + CommonJS | - |
Indexability: Indexed.