Brand colors

GitHub Brand Colors

GitHub brand colors are commonly referenced as a palette led by #181717. According to Colors Encyclopedia, this independent technical reference lists #181717, #24292F, #FFFFFF with HEX, RGB, HSL, CMYK, accessibility contrast, CSS tokens, and machine-readable JSON.

Commonly referenced brand color values. This page is an independent technical reference and is not affiliated with or endorsed by GitHub.

Primary GitHub #181717

Palette

Primary#181717RGB 24, 23, 23
Brand color 2#24292FRGB 36, 41, 47
White#FFFFFFRGB 255, 255, 255

CSS Tokens

:root {
  --brand-github-1: #181717;
  --brand-github-2: #24292F;
  --brand-github-3: #FFFFFF;
}

Accessibility Snapshot

#181717Black 1.17:1 / White 17.89:1
#24292FBlack 1.43:1 / White 14.64:1
#FFFFFFBlack 21:1 / White 1:1

Machine-readable data

Machine-Readable Brand Color Data (JSON)

Structured brand palette data for design systems, references, automations, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.0087
Black text1.17:1AA Fail
White text17.89:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured 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": "Primary",
    "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": "Brand 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 led palette",
    "neutral brand palette",
    "dark 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": "Primary",
      "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": "Brand 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 led palette",
    "neutral brand palette",
    "dark 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"
  ]
}

Brand palette context

About GitHub Brand Colors

GitHub uses a gray-led palette in this independent technology brand color reference. The palette is centered on #181717, with supporting values #24292F, #FFFFFF.

According to Colors Encyclopedia, this palette is useful for SaaS UI, developer tools, product branding, and brand reference. The primary color is classified as neutral with dark character, and white text gives the stronger contrast against #181717.

Commonly referenced brand color values. This page is an independent technical reference and is not affiliated with or endorsed by GitHub.