ColorPal

GitHub Brand Color

The official GitHub brand color is #181717. Use this exact color code to maintain brand consistency across your designs, websites, and marketing materials.

GitHub Color Values

HEX

#181717

RGB

24, 23, 23

HSL

0, 2%, 9%

GitHub Tints & Shades

A range of lighter tints and darker shades derived from the GitHub base color.

Tint 50%

#F3F2F2

Tint 40%

#C8C6C6

Tint 30%

#9E9A9A

Tint 20%

#706B6B

Tint 10%

#444141

Base

#181717

Shade 10%

#151414

Shade 20%

#100F0F

Shade 30%

#0D0C0C

Shade 40%

#0D0C0C

Shade 50%

#0D0C0C

Contrast & Accessibility

White Text

Contrast ratio: 17.89:1

AA: PassAAA: PassAA Large: PassAAA Large: Pass
Black Text

Contrast ratio: 1.17:1

AA: FailAAA: FailAA Large: FailAAA Large: Fail

Frequently Asked Questions

What is the official GitHub color?

The official GitHub brand color is #181717. In RGB this is rgb(24, 23, 23), and in HSL it is hsl(0, 2%, 9%).

What is the GitHub hex code?

The GitHub hex color code is #181717. You can use this value directly in CSS, design tools like Figma or Sketch, and any application that accepts hex color codes.

Is the GitHub color accessible?

Against white, the GitHub color has a contrast ratio of 17.89:1 (passes WCAG AA). Against black, it has 1.17:1 (fails WCAG AA). White text on this color is accessible.

Related Resources