GitHub Dark Palette
A professional grade color scheme for modern interfaces. Optimized for conversion, trust, and readability in digital products.
Overview
The GitHub Dark palette is a cornerstone of modern dev design. Widely recognized for its balance and clarity, it is essential for building trustworthy digital experiences. Professional designers select this scheme when they need to convey reliability without sacrificing aesthetic appeal.
Engineered by GitHub in 2021, this scheme utilizes standard contrast ratios that define the current standards in tech and product design. It integrates seamlessly into both light and dark modes, offering versatility for cross-platform applications including iOS, Android, and Web.
Global Tech Trends
Adoption data for GitHub Dark across major tech hubs.
In London, the GitHub Dark scheme is widely adopted for trusted fintech and banking interfaces, reflecting the region's preference for functional and high-performance design. Similarly, tech hubs in Berlin leverage these tones for minimalist design systems and dark mode apps, ensuring user trust and engagement.
Color Analysis
Technical breakdown of the palette composition.
| Preview | Role | Hex | RGB |
|---|---|---|---|
| Primary | #0d1117 |
13, 17, 23 | |
| Secondary | #c9d1d9 |
201, 209, 217 | |
| Accent | #1f6feb |
31, 111, 235 | |
| Accent | #238636 |
35, 134, 54 | |
| Accent | #8b949e |
139, 148, 158 |
Component Guide
How to apply the GitHub Dark palette to common UI elements.
Buttons & Actions
Use the primary color for main conversion actions to draw the user's eye. Ensure touch targets are at least 44px high for mobile compliance.
Information Density
Use darker shades for text hierarchy and lighter shades for backgrounds or inactive states. This ensures the user can scan content quickly.
Accessibility & Contrast
Ensuring your design is usable by everyone.
The GitHub Dark palette is vetted for WCAG 2.1 standards. When using #0d1117 on white backgrounds, it typically maintains a contrast ratio above 4.5:1, suitable for standard text.
For dark mode implementations, ensure that #c9d1d9 text on #8b949e backgrounds preserves readability. Always test with a screen reader or contrast checker tool before deployment as colors vary by display technology.
UI Application
Trust & Professionalism
Colors like #0d1117 are chosen to instill confidence. In dev apps, consistency is key, and this palette enables a coherent design language across the entire user journey.
Best Practices
- Use
#0d1117for Primary Actions (CTAs) - Use
#8b949efor Backgrounds/Surfaces - Ensure text contrast is at least 4.5:1 for accessibility
Frequently Asked Questions
Can I use this for mobile apps?
#0d1117 is calibrated to be visible outdoors or in varied lighting conditions.
Is this palette suitable for Dark Mode?
#c9d1d9) serve as excellent surface colors for dark interfaces, reducing eye strain in low-light environments.
How does this impact conversion?
Code Snippets
Copy-paste implementation for your framework.
CSS Variables
:root {
/* GitHub Dark Variables */
--color-0: #0d1117;
--color-1: #c9d1d9;
--color-2: #1f6feb;
--color-3: #238636;
--color-4: #8b949e;
}
Tailwind Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'brand': {
100: '#0d1117',
200: '#c9d1d9',
300: '#1f6feb',
400: '#238636',
500: '#8b949e',
}
}
}
}
}