Brand colors
GitHub Brand Colors
GitHub palette: #181717, #24292F, #FFFFFF. Compare HEX/RGB, WCAG contrast and CSS tokens; open independent JSON data.
Commonly referenced brand color values. This page is an independent technical reference and is not affiliated with or endorsed by GitHub.
#181717#24292F#FFFFFFPalette
#181717RGB 24, 23, 23#24292FRGB 36, 41, 47#FFFFFFRGB 255, 255, 255CSS Tokens
:root {
--brand-github-1: #181717;
--brand-github-2: #24292F;
--brand-github-3: #FFFFFF;
}
Accessibility Snapshot
Brand palette context · Editorially reviewed
About GitHub Brand Colors
GitHub’s current brand toolkit treats color as a flexible system rather than a single black swatch. Its foundations center brand expression around GitHub Green while allowing richer supporting palettes, and distinguish between color systems designed for different environments. Black, dark neutrals, and white remain strongly associated with familiar product and logo contexts.
The important design lesson is separation of roles: recognition, interface state, illustration, and accessibility do not all need the same color. GitHub explicitly connects its brand foundations with inclusive design, while its logo policy controls when GitHub marks and the Octocat may be used. Independent color documentation should therefore avoid presenting a palette as a complete identity kit.
This page is an independent technical summary, not a GitHub asset repository, endorsement, or substitute for the current logo policy.
Downloadable brand colors infographic
GitHub Brand Colors Infographic
Save an independent infographic of the commonly referenced GitHub HEX palette and its accessibility guidance. No logo or proprietary artwork is included.

Machine-readable data
Machine-Readable Brand Color Data (JSON)
Structured brand palette data for design systems, references, automations, and AI ingestion.
hexCanonical HEX valuergbRed, green, blue channelshslHue, saturation, lightnesscmykApproximate print conversionwcagAA and AAA contrast optionsharmoniesMathematical harmony setsvariantsGenerated tone variantsnearestColorsKnowledge graph neighborsStructured sections
Brand
{
"slug": "github",
"name": "GitHub",
"category": "technology",
"brandCategory": [
"Technology",
"technology"
],
"url": "https://www.colorsencyclopedia.com/brand-colors/github/",
"categoryUrl": "https://www.colorsencyclopedia.com/brand-colors/technology/",
"disclaimer": "Commonly referenced brand color values. This page is an independent technical reference and is not affiliated with or endorsed by GitHub."
}Palette
[
{
"name": "Palette color 1",
"hex": "#181717",
"rgb": [
24,
23,
23
],
"hsl": [
0,
2,
9
],
"cmyk": [
0,
4,
4,
91
],
"luminance": 0.0087,
"contrast": {
"black": 1.17,
"white": 17.89
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
}
},
{
"name": "Palette color 2",
"hex": "#24292F",
"rgb": [
36,
41,
47
],
"hsl": [
213,
13,
16
],
"cmyk": [
23,
13,
0,
82
],
"luminance": 0.0217,
"contrast": {
"black": 1.43,
"white": 14.64
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
}
},
{
"name": "White",
"hex": "#FFFFFF",
"rgb": [
255,
255,
255
],
"hsl": [
0,
0,
100
],
"cmyk": [
0,
0,
0,
0
],
"luminance": 1,
"contrast": {
"black": 21,
"white": 1
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
}
]AI context
{
"brandUseCases": [
"SaaS UI",
"developer tools",
"product branding",
"brand reference",
"design systems",
"CSS tokens",
"accessibility checks"
],
"semanticGroups": [
"technology brand colors",
"gray brand palette",
"blue brand palette",
"neutral brand palette",
"cool brand palette",
"dark brand color",
"light brand color",
"GitHub color reference"
],
"contrastSafeWith": [
"#FFFFFF",
"#F5F5F5",
"#000000",
"#1A1A1A",
"#36454F"
],
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/brand-colors/github.json",
"https://www.colorsencyclopedia.com/api/brand-colors.json"
]
}CSS tokens
{
"css": "--brand-github-1: #181717;\n--brand-github-2: #24292F;\n--brand-github-3: #FFFFFF;"
}Accessibility
[
{
"hex": "#181717",
"contrast": {
"black": 1.17,
"white": 17.89
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
}
},
{
"hex": "#24292F",
"contrast": {
"black": 1.43,
"white": 14.64
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
}
},
{
"hex": "#FFFFFF",
"contrast": {
"black": 21,
"white": 1
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
}
]Full JSON dataset
{
"slug": "github",
"name": "GitHub",
"category": "technology",
"brandCategory": [
"Technology",
"technology"
],
"disclaimer": "Commonly referenced brand color values. This page is an independent technical reference and is not affiliated with or endorsed by GitHub.",
"datasetVersion": "1.0.0",
"url": "https://www.colorsencyclopedia.com/brand-colors/github/",
"categoryUrl": "https://www.colorsencyclopedia.com/brand-colors/technology/",
"apiUrl": "https://www.colorsencyclopedia.com/api/brand-colors/github.json",
"colors": [
{
"name": "Palette color 1",
"hex": "#181717",
"rgb": [
24,
23,
23
],
"hsl": [
0,
2,
9
],
"cmyk": [
0,
4,
4,
91
],
"luminance": 0.0087,
"contrast": {
"black": 1.17,
"white": 17.89
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
}
},
{
"name": "Palette color 2",
"hex": "#24292F",
"rgb": [
36,
41,
47
],
"hsl": [
213,
13,
16
],
"cmyk": [
23,
13,
0,
82
],
"luminance": 0.0217,
"contrast": {
"black": 1.43,
"white": 14.64
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
}
},
{
"name": "White",
"hex": "#FFFFFF",
"rgb": [
255,
255,
255
],
"hsl": [
0,
0,
100
],
"cmyk": [
0,
0,
0,
0
],
"luminance": 1,
"contrast": {
"black": 21,
"white": 1
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
}
],
"brandUseCases": [
"SaaS UI",
"developer tools",
"product branding",
"brand reference",
"design systems",
"CSS tokens",
"accessibility checks"
],
"semanticGroups": [
"technology brand colors",
"gray brand palette",
"blue brand palette",
"neutral brand palette",
"cool brand palette",
"dark brand color",
"light brand color",
"GitHub color reference"
],
"contrastSafeWith": [
"#FFFFFF",
"#F5F5F5",
"#000000",
"#1A1A1A",
"#36454F"
],
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/brand-colors/github.json",
"https://www.colorsencyclopedia.com/api/brand-colors.json"
]
}