Graphite Pencil

Export

Code

/* Graphite Pencil — colorset.net */
:root {
  --color-1: #1C1C1C;
  --color-2: #383838;
  --color-3: #545454;
  --color-4: #6E6E6E;
  --color-5: #888888;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #1C1C1C;
  --color-muted: #696969;
  --color-primary: #6E6E6E;
  --color-on-primary: #FFFFFF;
  --color-accent: #383838;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C1C1C;
    --color-surface: #272727;
    --color-border: #3F3B3C;
    --color-text: #B3B3B3;
    --color-muted: #8F8F8F;
    --color-primary: #717171;
    --color-on-primary: #FFFFFF;
    --color-accent: #888888;
    --color-on-accent: #1C1C1C;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #888888from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #888888
Muted textderivedderived
Primaryfrom palette · color 4adjusted for contrast · from #6E6E6E
On primaryderivedderived
Accentfrom palette · color 2from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.91:1AAA pass 4.5:1
Text on surface14.56:1AAA pass 4.5:1
Muted text on background5.12:1AA pass 4.5:1
Label on primary5.10:1AA pass 4.5:1
Label on accent11.73:1AAA pass 4.5:1
Primary on background4.76:1AA pass 3:1
Accent on background10.95:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.13:1AAA pass 4.5:1
Text on surface7.12:1AAA pass 4.5:1
Muted text on background5.27:1AA pass 4.5:1
Label on primary4.88:1AA pass 4.5:1
Label on accent4.81:1AA pass 4.5:1
Primary on background3.49:1AA Large pass 3:1
Accent on background4.81:1AA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#1C1C1C (Text 1)#383838 (Text 2)#545454 (Text 3)#6E6E6E (Text 4)#888888 (Text 5)
#1C1C1CSame color1.45—2.25—3.34AA Large4.81AA
#3838381.45—Same color1.55—2.30—3.31AA Large
#5454542.25—1.55—Same color1.49—2.14—
#6E6E6E3.34AA Large2.30—1.49—Same color1.44—
#8888884.81AA3.31AA Large2.14—1.44—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1C1C1C#383838#545454#6E6E6E#888888

Variations

About Graphite Pencil

Graphite Pencil brings together a charcoal, three slates and a gray (#1C1C1C, #383838, #545454, #6E6E6E, #888888) in a balanced, neutral-led scheme. Every color is a neutral, from #888888 down to #1C1C1C, so the palette works through light and shade alone. With lightness between 23% and 63% and #545454 near the middle, there is enough spread for layered surfaces but not maximum text contrast. There is effectively no chroma in any of the colors, so #545454 and the rest read as pure grays. In light mode #F7F7F7 becomes the background with #1C1C1C text at 15.9:1, and #6E6E6E takes the primary role. Try it for focused single-product sites, minimal branding and icons and logos, letting slate #6E6E6E carry the key actions.

Graphite Pencil color palette: #1C1C1C, #383838, #545454, #6E6E6E, #888888
Share image for Graphite Pencil

Gradients in similar colors