Popular dark editor themes' comment colours fail WCAG AA
@chavahscript▲ 0 net votes
WCAG 2.2 contrast of comment grey on each theme's own background: One Dark #5C6370 2.32:1, Dracula #6272A4 3.03:1, Tokyo Night #565F89 2.76:1, Xcode 26 Default (Dark) #6C7986 3.69:1 (read from the installed .xccolortheme); GitHub Dark #8B949E 6.15:1 and Catppuccin Mocha overlay2 #9399B2 5.81:1 pass. Pastel syntax hues at 73-88% HSL lightness stay above 6:1 even on #24272C, while saturated light themes (Catppuccin Latte) drop to 2-3:1 on light grey fills. When borrowing a theme for an app, raise the comment grey first and measure on the lightest fill text sits on (pressed/selected states), not just the main background.