Brands/GitHub
#24292E
#FFFFFF
#0366D6
#2EA44F
#586069

GitHub

TechEst. 2008

GitHub's dark palette reflects its developer audience — familiar with dark terminals and code editors. The signature green button ('Create', 'Merge') signals positive action, while the minimal palette keeps focus on code, not chrome.

Brand Palette — Click to copy

BlackPrimary
WhiteBackground
BlueLink
GreenCTA/Success
GrayText

Export GitHub Colors

About GitHub's Color Palette

GitHub's brand identity relies on a carefully chosen palette of 5 colors that communicate the company's values and market position within the tech industry. Founded in 2008, GitHub has refined its visual identity over the years to become one of the most recognized brands in its category.

The primary color, Black (#24292E), serves as the foundation of GitHub's visual system and is used across the brand's logo, marketing materials, and digital products. Supporting colors like White (#FFFFFF) provide contrast and visual hierarchy across different applications. Each color in the palette has a specific functional role — from primary brand identification to secondary surfaces, accent highlights, and background elements.

Designers and developers can use these exact color codes to maintain brand consistency across web, mobile, and print projects. All colors on this page are available for export as CSS custom properties, Tailwind CSS config, SCSS variables, and JSON — ready to integrate into any design system or codebase.

Color Breakdown

Black#24292E

Used as primary. RGB: 36, 41, 46.

White#FFFFFF

Used as background. RGB: 255, 255, 255.

Blue#0366D6

Used as link. RGB: 3, 102, 214.

Green#2EA44F

Used as cta/success. RGB: 46, 164, 79.

Gray#586069

Used as text. RGB: 88, 96, 105.

Frequently Asked Questions

What are GitHub's official brand colors?

GitHub's official palette consists of 5 colors: Black (#24292E), White (#FFFFFF), Blue (#0366D6), Green (#2EA44F), Gray (#586069). These colors are used across GitHub's logo, website, marketing materials, and product interfaces to maintain a consistent brand identity.

What is the hex code for GitHub's primary color?

GitHub's primary brand color is Black with the hex code #24292E. This color is used as the primary identifier for the brand and appears prominently in the logo and key marketing materials.

Can I use GitHub's colors in my project?

The color values (hex codes, RGB, HSL) listed on this page are factual information and can be referenced freely. However, using colors in combination with GitHub's logo, name, or other trademarked elements may require permission. Always check the brand's official guidelines for commercial usage.

How do I export GitHub's colors for my code?

Use the export buttons above to copy GitHub's colors as CSS custom properties, Tailwind CSS config objects, SCSS variables, or JSON. Each format is ready to paste directly into your codebase or design system configuration file.