⚠ Editorial Disclaimer: This page is an independent color reference resource. It is not affiliated with, endorsed by, or sponsored by the brand listed above or any of its parent companies. All color values are documented for educational and design reference purposes only. Trademarks and brand identities belong to their respective owners.

Github Color Palette

The Github brand owes much of its visual impact to this Grey-rooted palette. Discover the hex codes that define one of tech's most recognized identities.

Github Primary

HEX#333333
RGB51, 51, 51

Github Accent

HEX#24292E
RGB36, 41, 46

Github Accent

HEX#FFFFFF
RGB255, 255, 255

The Visual Identity of Github

Color Systems & Brand Psychology

Primary Hue

Choosing #333333 as its lead color, Github leverages the psychological association between grey tones and precision — an important signal in the tech sector.

Industry Psychology

Color research in the tech sector consistently shows that grey hues perform well for conveying precision. By anchoring its identity in this spectrum, Github aligns itself with values its global software audiences already trust.

Strategic Usage

These color values are design specifications, not decorative choices. Github's consistency in applying this palette across digital products ensures every touchpoint reinforces the same brand message — making precision an immediately recognisable quality of the brand.

UI Design & Application Guide

Thinking of using the Github color palette in your next project? Here is a professional guide on how to apply these colors effectively for web and mobile interfaces.

Aa
Header One
HEX: #333333 Primary Brand Color

When using #333333 as a background, strict accessibility standards (WCAG) recommend using #FFFFFF for your typeface to ensure maximum readability.

Call to Action
Get Started
Button Component
Accent Usage
Use Github Grey as a high-visibility accent color on clean white surfaces to draw attention.
Dark/Brand Background
Professional Tip: Designers using Figma or Adobe XD should create a specific color style named Github Primary to ensure consistency across all tech mockups.

Technical Color Data Table

For developers and designers, accuracy is non-negotiable. Below are the precise conversions.

Color Name HEX Code RGB Values CSS Variable
Github Primary #333333 rgb(51, 51, 51) var(--github-primary)
Github Accent 1 #24292E rgb(36, 41, 46) var(--github-color-2)
Github Accent 2 #FFFFFF rgb(255, 255, 255) var(--github-color-3)

CSS Implementation

Copy this CSS snippet to your :root to instantly implement the Github brand styles.

:root {
  --github-primary: #333333;
  --github-color-2: #24292E;
  --github-color-3: #FFFFFF;
}

Explore Related Brand Palettes

Compare Github with other top brands in our database.

Frequently Asked Questions

What is the primary HEX color code for Github?
The primary color in the Github palette is #333333. This value is documented here for reference purposes. For official brand implementation, always consult Github's own brand guidelines.
Does #333333 meet WCAG accessibility contrast requirements?
WCAG 2.1 AA requires a contrast ratio of at least 4.5:1 for normal text. When using #333333 as a background, white (#FFFFFF) text typically achieves the required ratio. Always verify with a contrast checker tool before production use, as contrast depends on your exact background color.
Why does Github use grey as its primary color?
Grey tones are widely associated with professionalism in color psychology research. For a brand operating in the tech sector, this association helps communicate the right emotional signal to global software audiences — though the final palette decision reflects many factors including competitive differentiation and historical brand equity.
Can I use the Github color palette in my design project?
The colors documented on this page (RGB values, HEX codes) are factual technical specifications and may be referenced for editorial, educational, or personal design inspiration. However, using Github's colors in a way that implies endorsement, affiliation, or commercial association with Github may raise trademark concerns. For commercial projects, review Github's brand guidelines and, if needed, consult a legal advisor.