Icon color at small sizes: the contrast problem
Icons at 16-20px face a perceptual contrast threshold that is different from text contrast. WCAG defines contrast requirements for text at normal and large sizes, and for UI components (3:1 minimum), but does not specifically address icon contrast at the specific sizes they appear in. The practical finding: icons below 20px in a color that passes 3:1 contrast on the background often fail perceptually due to antialiasing, the small proportion of colored pixels to background, and the complex form of the icon at small scale. The working recommendation: design icons to pass 4.5:1 contrast at their intended render size, not 3:1, to compensate for the perceptual penalty of small-scale rendering. Use the contrast checker tools to verify the icon color against all backgrounds on which it appears — particularly colored header backgrounds, card surfaces, and dark mode backgrounds.
