GitHub
github.com · GitHub · Change is constant. GitHub keeps you ahead. · GitHub
- Primary #f0f6fc
- Secondary #08872b
- Accent #1f883d
- #ffffff
- #000000
- #9198a1
- #58635b
- #59636e
- #a4aea6
- #d1d9e0
- #7c8980
- #404651
- #484f58
- #e4ebe6
- colours
- 15
- typefaces
- 3
- type sizes
- 10
- spacing steps
- 11
- corner radii
- 8
- components
- 721
- elements read
- 1,926
Colour
14 colours measured on the rendered page. The bar is each colour’s share of everything painted; click any swatch to copy it.
- Primary650 uses
- Secondary2 uses
- Accent2 uses
- 1,752 uses
- 360 uses
- 224 uses
- 140 uses
- 100 uses
- 100 uses
- 12 uses
- 8 uses
- 6 uses
- 5 uses
- 3 uses
- 1 uses
Text on background, 100% of pairs pass WCAG AA
- AaAAA13.74:1 · #25292e on #f6f8fa
- AaAA4.52:1 · #ffffff on #1f883d
- AaAA4.63:1 · #ffffff on #1f6feb
- AaAAA18.26:1 · #000000 on #efefef
Type
Mona Sans (sans, 1,254 elements), Mona Sans VF (sans, 476 elements), Mona Sans Mono (mono, 17 elements). Body text is 16px at weight 400. Shown in your browser’s copy of the face when you have it.
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
- GitHub sets the pace
Space and corners
11 spacing steps and 8 corner radii, with 7 distinct shadows.
- 1
- 40
- 64
- 80
- 96
- 102
- 112
- 274
- 308
- 384
- 432
- 3px
- 6px
- 12px
- 16px
- 24px
- 48px
- 60px
- pill
Motion
The motion reads as mixed. Each curve is drawn from the page’s own transitions; the dot runs it at three times the real duration so you can see it.
linear12 transitionscubic-bezier(0.16, 1, 0.3, 1)74 transitionscubic-bezier(0.65, 0, 0.35, 1)35 transitionsease36 transitionsComponents
What the page is built from, counted in the rendered DOM.
- 53Buttons
- 9Cards
- 14Inputs
- 154Links
- 287Navigation
- 21Footer
- 28Modals
- 49Dropdowns
- 9 font weights in use — consider standardizing to 3 (regular, medium, bold)
- 4312 !important rules — prefer specificity over overrides
- 81% of CSS is unused — consider purging
- 32949 duplicate CSS declarations
Download the tokens
The files designlang wrote for github.com. Run it yourself for a fresh read: npx designlang github.com.
The core values as CSS variables
:root {
--color-primary: #f0f6fc;
--color-secondary: #08872b;
--color-accent: #1f883d;
--color-background: #0d1117;
--color-text: #f0f6fc;
--color-neutral-1: #ffffff;
--color-neutral-2: #000000;
--color-neutral-3: #9198a1;
--color-neutral-4: #58635b;
--font-primary: "Mona Sans", sans-serif;
--font-secondary: "Mona Sans VF", sans-serif;
--radius-sm: 3px;
--radius-md: 6px;
--radius-lg: 12px;
}Quick answers
What font does GitHub use?
What are GitHub's brand colors?
How do I use the GitHub design system in my own app?
Is this the official design system?
Measured from the public pages of github.com on 12 June 2026. GitHub is a trademark of its owner; designlang is not affiliated with it. More: the full GitHub brand kit, the token extraction guide, github.com in the Design Index and the markdown version of this page.