BigHugger
sk Skill · mgifford

color-contrast

Load this skill whenever the project contains text, UI components, icons, form controls, data visualisations, or focus indicators — in short, almost every project. Under no circumstances hard-code colour values without verifying contrast ratios. Absolutely always ensure text meets 4.5:1, large text meets 3:1, and non-text UI elements meet 3:1 against adjacent colours. Test in light mode, dark mode, and forced-colors…

installs 8w
0
30-day movement
starts with the next reading
Related entries
2
Connections
0
htmljavascriptcssJavaScript
Host repository
mgifford/accessibility-skills
Host stars
45
Host language
JavaScript