Check the contrast of two colours against WCAG 2.2 from the terminal or in CI:
ratio, AA / AAA results for normal text, large text and UI components, JSON
output and exit codes (0 pass, 1 fail, 2 bad input).
nexfield-contrast "#767676" "#ffffff"
4.54:1 AA text ✓ AA large ✓ AAA text ✗ AAA large ✓ UI ✓
Colours: #rgb, #rrggbb, #rrggbbaa, rgb(), hsl(), white, black.
Made by Nexfield Academy, an online school of UX/UI, graphic and web design.
Free online contrast checker with a colour picker:
https://nexfield.academy/resources/services/contrast-checker/