SiteStyleGuide

Unofficial A style guide made by SiteStyleGuide from github.com’s public web pages. Not affiliated with or endorsed by GitHub. The real site is github.com ↗

GitHub logo

Unofficial style guide

GitHubstyle guide

GitHub’s website (github.com) sets its headings in Mona Sans and its body text in Mona Sans VF. Its palette is led by Light Forest Green (#08872B), Royal Blue (#0969DA) and Crimson (#D1242F), with #000000 text on #FFFFFF. Captured from the live site on 3 November 2026.

Website
github.com
Typefaces
Mona Sans, Mona Sans Mono, Mona Sans VF
Palette
4 neutrals, 12 colours, 3 gradients
Captured
3 Nov 2026 · added by @sitestyleguide
https://github.com/ Screenshot
Screenshot of the github.com homepage on a desktop screen
Screenshot of github.com on a 1440 px desktop screen, 3 Nov 2026.

Identity & metadata

What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.

Title &
description

Page title
GitHub · Change is constant. GitHub keeps you ahead. · GitHub · GitHub
▲ 70 / 60 characters
Meta description
Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.
▲ 186 / 160 characters
Site name
GitHub
og:title
GitHub · Change is constant. GitHub keeps you ahead. · GitHub
og:description
Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.
Language
en
Theme colour
#1e2327

In search results

GitHubhttps://github.com/

GitHub · Change is constant. GitHub keeps you ahead. · GitHub…

Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build softwar…

When shared

The image GitHub shares with links

github.com

GitHub · Change is constant. GitHub keeps you ahead. · GitHub

Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses,…

Back to top ↑

Colour

Read from the site’s stylesheets and weighted by where each colour is used. Names are the nearest standard colour name. Click a swatch to copy its hex code.

Contrast is against the site’s text colour (#000000) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.

Colour

Balance

How much each colour is used
  • White 30.9%
  • Black 16.2%
  • Warm Dark Grey 12.1%
  • Cool Dark Grey 9.2%
  • Light Forest Green 5.4%
  • Royal Blue 3.8%
  • Crimson 3.5%
  • Dark Green 2.9%
  • Light Royal Blue 2.5%
  • Deep Royal Blue 2.2%
  • Cornflower Blue 2.2%
  • Slate Blue 2.2%
  • Deep Forest Green 1.9%
  • Blue Violet 1.6%
  • Dark Slate Blue 1.6%
  • Dark Golden Rod 1.6%

By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.

Neutrals

Text, backgrounds and structure
  • White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 0
    On text
    21.00:1 AAA
    On white
    —

    Background, text, border · .Primer_Brand__AnchorNav-module__AnchorNav--with-default-background-color___zvSj, .Primer_Brand__PricingOptions-module__PricingOptions--layout-default___5HLMU.Pri

  • Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 100
    On text
    —
    On white
    21.00:1 AAA

    Text, background, graphic · .Primer_Brand__Heading-module__Heading___fudyh, .Primer_Brand__RiverBreakoutTabs-module__RiverBreakoutTabs__item--selected___T8v

  • Warm Dark Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    11 0 8 61
    On text
    3.35:1 AA large
    On white
    6.27:1 AA

    Text, graphic, background · .Primer_Brand__RiverAccordion-module__RiverAccordion__item___SheMX:not(.Primer_B, .Primer_Brand__river-shared-module__River__heading___e5fwB code

  • Cool Dark Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    19 10 0 57
    On text
    3.43:1 AA large
    On white
    6.11:1 AA

    Text, background, graphic · .prc-Dialog-Subtitle-aBFSq, .prc-ActionList-GroupHeadingWrap-laXcX

Colours

Brand colours and accents, most used first
  • Light Forest Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    94 0 68 47
    On text
    4.51:1 AA
    On white
    4.66:1 AA

    Background, text, border · .ButtonOverlayText__7mSIIZ, .labelBorder__a2cPZy:before

  • Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    96 52 0 15
    On text
    4.04:1 AA large
    On white
    5.19:1 AA

    Background, border, text · .prc-ActionList-ActionListItem-So4vC:not([data-is-disabled],[data-has-subitem=tr, .prc-Checkbox-Checkbox-jjOgT:checked

  • Crimson

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 83 78 18
    On text
    4.00:1 AA large
    On white
    5.24:1 AA

    Text, background, border · .Primer_Brand__IconButton-module__IconButton--variant-danger____mjeH.Primer_Bran, .prc-ActionList-ActionListItem-So4vC:not([data-is-disabled],[data-has-subitem=tr

  • Dark Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    87 0 52 60
    On text
    3.00:1 AA large
    On white
    7.00:1 AAA

    Background, text, border · .headingDot___XTmc-, .Primer_Brand__Hero-module__Hero-heading___HMve3 b

  • Light Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    99 53 0 0
    On text
    5.09:1 AA
    On white
    4.13:1 AA large

    Border, background, text · .labelBorder__a2cPZy:before, --data-blue-color-emphasis

  • Deep Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 60 0 16
    On text
    3.26:1 AA large
    On white
    6.44:1 AA

    Text, background, graphic · .ButtonOverlayItem__QZKQ1B:nth-of-type(3), .Primer_Brand__Accordion-module__Accordion__content___GhUVO a

  • Cornflower Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    65 35 0 0
    On text
    8.31:1 AAA
    On white
    2.53:1 Fail

    Text, background · .Header .header-search-button .input-parsed-symbol, .Header .header-search-button .pl-c1

  • Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    42 64 0 13
    On text
    4.16:1 AA large
    On white
    5.05:1 AA

    Background, text, border · .labelBorder__a2cPZy:before, --bgColor-done-emphasis

  • Deep Forest Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    80 0 57 50
    On text
    4.13:1 AA large
    On white
    5.08:1 AA

    Text, background, graphic · --display-green-scale-5, --button-primary-bgColor-hover

  • Blue Violet

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    45 79 0 5
    On text
    3.78:1 AA large
    On white
    5.55:1 AA

    Background, text · .ButtonOverlayItem__QZKQ1B:nth-of-type(2), --display-purple-scale-6

  • Dark Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    99 60 0 42
    On text
    2.06:1 Fail
    On white
    10.18:1 AAA

    Used · --display-blue-scale-8, --label-blue-fgColor-active

  • Dark Golden Rod

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 33 100 40
    On text
    4.31:1 AA large
    On white
    4.87:1 AA

    Text, background, border · --bgColor-attention-emphasis, --borderColor-attention-emphasis

Gradients

  • linear-gradient(, )

  • linear-gradient(#34b75926,#2ea44f00)

  • linear-gradient(#54a3ff,#006eed)

Dark mode

When the device is set to dark
Aa Light · #000000 on #FFFFFF
Aa Dark · #FFFFFF on #010409 · 20.54:1 AAA
  • White

    #FFFFFF · --buttonKeybindingHint-danger-borderColor-hover

  • Cool Light Grey

    #B7BDC8 · --borderColor-default

  • Light Green

    #5FED83 · --brand-color-accent-primary

  • Cool Dark Grey

    #656C76 · --ansi-blackBright

  • Cool Charcoal

    #262C36 · --bgColor-disabled

  • Black

    #010409 · --bgColor-default

  • Cool Off White

    #F0F6FC · --ansi-white

  • Warm Light Grey

    #A4AEA6 · --brand-color-text-muted

  • Light Sky Blue

    #78BAFE · --base-color-scale-blue-2

  • Warm Charcoal

    #262C28 · --brand-color-canvas-overlay

  • Warm Near Black

    #0F1511 · --brand-color-canvas-subtle

  • Violet

    #C08BFC · --base-color-scale-purple-2

Back to top ↑

Typography

Faces from Google Fonts are shown in the real thing. Others are licensed to the site, so they show in your device’s copy if you have one, or a stand-in if not.

Mona Sans

Aa 200 Aa 900

Mona Sans

Served from github.githubassets.com · weights 200, 400, 440, 460, 480, 500, 550, 600, 700, 900 · headings, buttons · shown in a stand-in if you don’t have it

Aa 200 Aa 900

Mona Sans Mono

Served from github.githubassets.com · weights 200, 400, 425, 480, 500, 900 · headings, buttons · shown in a stand-in if you don’t have it

Aa 400

Mona Sans VF

System font, or not loaded on this page · weights 400 · body · shown in a stand-in if you don’t have it

Aa 200 Aa 900

Hubot Sans

Served from github.githubassets.com · weights 200, 900 · headings · shown in a stand-in if you don’t have it

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”

Type scale

From the site’s CSS
Heading 1 2rem · 32 px weight 600

GitHub

Heading 2 1.5rem · 24 px weight 600

GitHub · Change is constant. GitHub keeps you a…

Heading 3 1.25rem · 20 px weight 600

GitHub · Change is constant. GitHub keeps you a…

Heading 4 1rem · 16 px weight 600

GitHub · Change is constant. GitHub keeps you a…

Heading 5 .875rem · 14 px weight 600

GitHub · Change is constant. GitHub keeps you a…

Heading 6 .75rem · 12 px weight 600

GitHub · Change is constant. GitHub keeps you a…

Body .875rem · 14 px / 1.5 weight 400 · Mona Sans VF

Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source c…

Paragraph 1rem · 16 px / 1.5 weight 400 · Mona Sans

Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source c…

Small 90%

Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source c…

Button 70% none

Get started

Link .875rem · 14 px / 1 weight 600

Read more about GitHub

Sizes in use

Most common across the site
  • 32pxline 1.2 · 13 rules
  • 24pxline 1.3 · 15 rules
  • 22pxline 1.3 · 11 rules
  • 20pxline 1.4 · 33 rules
  • 18pxline 1.5 · 21 rules
  • 16pxline 1.5 · 57 rules
  • 14pxline 1.5 · 158 rules
  • 12pxline 1.625 · 141 rules

Back to top ↑

Elements

The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.

Elements

Button

Get started

.ButtonOverlayText__7mSIIZ · #08872B

Corner radius

  • .375rem · 180×
  • .5rem · 57×
  • 624.938rem · 49×
  • 50% · 40×
  • .75rem · 35×
  • .1875rem · 27×

Shadows

  • ,
  • 0 0 0 2px
  • 0 1px 1px 0 #25292e1a,0 3px 6px 0 #25292e1f

Back to top ↑

Layout

Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.

Grid

Content widths (max-width)

1280 px
1176 px
768 px
618 px
600 px
450 px

Back to top ↑

Notes

Plain checks on what was found. Worth fixing if you look after this site.

Notes

  • ▲ CheckThe title is 70 characters. Google usually cuts titles near 60, so the end may not show in results.
  • ▲ CheckThe description is 186 characters. Search results usually show about 160.
  • ▲ CheckThe favicon is dark on a see-through background, so it nearly disappears on dark browser tabs.

Back to top ↑

Questions

Quick answers, from the same capture as the rest of this guide.

Questions

What font does GitHub use?
GitHub’s website uses four typefaces: Mona Sans (headings), served from github.githubassets.com; Mona Sans Mono, served from github.githubassets.com; Mona Sans VF (body text), a system font; Hubot Sans, served from github.githubassets.com.
What are GitHub’s brand colours?
The main colours on github.com are Light Forest Green (#08872B), Royal Blue (#0969DA), Crimson (#D1242F), Dark Green (#0D6731), Light Royal Blue (#0377FF) and Deep Royal Blue (#0055D5).
What colour is GitHub’s text and background?
Body text is #000000 on a #FFFFFF background.
Where is GitHub’s logo from?
The logo shown in this guide was found on github.com’s homepage. For official logo files and usage rules, check GitHub’s own brand or press page.
Is this GitHub’s official style guide?
No. SiteStyleGuide made it from github.com’s public web pages on 3 November 2026, and isn’t affiliated with GitHub. Members can refresh a guide after 90 days to pick up changes.

Back to top ↑

Design tokens

Everything above as CSS variables, ready to paste into a project. Members can download the tokens as files for Figma (Tokens Studio), Style Dictionary and Tailwind.

Tokens

github-com-tokens.css

Download

Free with an account: sign up or sign in, and you’ll come straight back here.

/* github.com design tokens, from SiteStyleGuide (https://sitestyleguide.com/github.com) */
:root {
  /* Colours */
  --text: #000000;
  --background: #FFFFFF;
  --colour-white: #FFFFFF;
  --colour-black: #000000;
  --colour-warm-dark-grey: #58635B;
  --colour-cool-dark-grey: #59636E;
  --colour-light-forest-green: #08872B;
  --colour-royal-blue: #0969DA;
  --colour-crimson: #D1242F;
  --colour-dark-green: #0D6731;
  --colour-light-royal-blue: #0377FF;
  --colour-deep-royal-blue: #0055D5;
  --colour-cornflower-blue: #58A6FF;
  --colour-slate-blue: #8250DF;
  --colour-deep-forest-green: #1A7F37;
  --colour-blue-violet: #8534F3;
  --colour-dark-slate-blue: #023B95;
  --colour-dark-golden-rod: #9A6700;
  --gradient-1: linear-gradient(, );
  --gradient-2: linear-gradient(#34b75926,#2ea44f00);
  --gradient-3: linear-gradient(#54a3ff,#006eed);

  /* Typefaces */
  --font-headings: 'Mona Sans', 'MonaSansFallback', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Helvetica';
  --font-buttons: 'Mona Sans', 'MonaSansFallback', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Helvetica';
  --font-body: 'Mona Sans VF', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Noto Sans Backtick Fix', 'Noto Sans';
  --font-other: ui-monospace, 'SFMono-Regular', 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono';

  /* Type scale */
  --text-h1: 2rem;
  --text-h2: 1.5rem;
  --text-h3: 1.25rem;
  --text-h4: 1rem;
  --text-h5: .875rem;
  --text-h6: .75rem;
  --text-body: .875rem;
  --leading-body: 1.5;
  --text-p: 1rem;
  --leading-p: 1.5;
  --text-small: 90%;
  --text-button: 70%;
  --text-a: .875rem;
  --leading-a: 1;

  /* Shape */
  --radius-1: .375rem;
  --radius-2: .5rem;
  --radius-3: 624.938rem;
  --radius-4: 50%;
  --radius-5: .75rem;
  --radius-6: .1875rem;
}

Back to top ↑

Share

Links open each service’s own share page. Nothing from them loads here.

Share

Run github.com?

Add the badge to your site

Link to this guide from your own site, so your team, designers and agencies can find your colours and fonts in one place.

View our style guide on SiteStyleGuide
<a href="https://sitestyleguide.com/github.com" title="GitHub style guide on SiteStyleGuide"><img src="https://sitestyleguide.com/public/badge.svg" alt="View our style guide on SiteStyleGuide" width="200" height="44"></a>

Back to top ↑

Websites whose lead colour is closest to GitHub’s

Captured from github.com on 3 November 2026. SiteStyleGuide isn’t affiliated with or endorsed by GitHub; this guide describes the public website for reference.