2026 Key Statistics & Quick-Cite Summary
Short version: In GitHub’s official color system, Dark Mode green, amber, blue, red, and muted text all beat Light Mode on the old 2008 contrast test (scoring up to 7.5:1!). Yet under modern human-vision science (APCA), every single one drops 21 to 33 points lower in readability — which is why GitHub ships a separate "Dark High Contrast" theme.
- 5 out of 5 — GitHub Dark colors scoring higher on old tests yet dimmer to human eyes (ColorQueue GitHub Primer Audit)
- −32.8 pts — Drop in human-eye clarity for Dark Mode red vs. Light Mode red (APCA Human-Vision Comparison)
- 7.45 : 1 — Dark green’s huge old-test score — even as human clarity drops 22.5 pts (GitHub Primer v10 Official Tokens)
GitHub is built by some of the best web engineers in the world. Yet when we compared GitHub’s official Light Mode and Dark Mode colors side by side, every single Dark Mode color scored HIGHER on the classic legal test — while looking noticeably dimmer to human eyes.
The Dark-Mode Paradox Even Top Tech Companies Face
In Light Mode, GitHub’s five main text colors (blue, red, green, amber, and muted gray) are amazingly consistent — all scoring right around 73 to 76 on the modern human-eye readability scale.
Switch to GitHub Dark Mode, and something wild happens. On the old 2008 contrast calculator, every single color actually scores HIGHER (green jumps all the way to 7.45:1!). Yet human eyes actually perceive 21 to 33 points LESS clarity on every single one.
GitHub Light Mode vs. Dark Mode: Modern Human-Eye Readability Score (APCA)
Higher score = crisper reading. 60+ is recommended for normal reading text.
| Item | GitHub Light Mode | GitHub Dark Mode | Context |
|---|---|---|---|
| Muted Gray Text | 76.2 pts | 44.9 pts | Drops 31.3 pts in dark mode |
| Accent Blue Link | 74.9 pts | 43.7 pts | Drops 31.2 pts in dark mode |
| Success Green | 74.6 pts | 52.1 pts | Scores 7.45:1 old test, yet drops 22.5 pts! |
| Error Red | 74.2 pts | 41.4 pts | Drops 32.8 pts in dark mode |
| Warning Amber | 73.4 pts | 52.2 pts | Drops 21.2 pts in dark mode |
Data note: Exact APCA-W3 human-vision contrast scores computed from GitHub @primer/primitives v10 official light and dark files.
Why Colored Text Looks Harder to Read on Black
When you stare at a bright white page, your pupils shrink slightly — acting like a camera lens with sharper focus. In a dark room staring at a black screen, your pupils widen, and bright colored letters like red or blue can look softer or slightly blurry around the edges (a visual effect called halation).
That’s why GitHub didn’t crank its default dark mode colors to blinding neon — and instead built a separate "Dark High Contrast" setting (with brighter #74B9FF blue) for anyone who wants maximum punch.
What This Means for Your Dark Mode Website
Don’t trust the classic 4.5:1 number alone when building dark mode! Colored text on near-black needs to be slightly lighter, softer, and slightly thicker in font weight to feel just as easy to read as light mode.
Check Both Scores Before Launching Dark Mode
Run your dark-mode link colors through our Contrast Checker to see both the legal ratio and the human-eye APCA score together.
Cite This Study
ColorQueue (2026). "Why GitHub’s Dark Mode Colors Score Higher on Official Tests — Yet Look Dimmer to Human Eyes." https://colorqueue.com/guides/github-primer-light-dark-apca-asymmetry/
Research Sources & Primary Citations
- GitHub Primer Official Color Tokens — GitHub (2025)
- GitHub Primer Primitives Open-Source Code — GitHub (2025)
- APCA Human-Vision Contrast Research — Myndex (2025)
- WebAIM Low Vision Dark Mode Survey — WebAIM (2024)