Pencil Shading

Export

Code

/* Pencil Shading — colorset.net */
:root {
  --color-1: #2F4F4F;
  --color-2: #708090;
  --color-3: #A9A9A9;
  --color-4: #D3D3D3;
  --color-5: #F5F5F5;

  --color-bg: #F5F5F5;
  --color-surface: #FCFCFC;
  --color-border: #DFDBDC;
  --color-text: #2F4F4F;
  --color-muted: #557676;
  --color-primary: #708090;
  --color-on-primary: #000000;
  --color-accent: #8E8E8E;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #071111;
    --color-surface: #111C1C;
    --color-border: #223131;
    --color-text: #F5F5F5;
    --color-muted: #8A8A8A;
    --color-primary: #708090;
    --color-on-primary: #071111;
    --color-accent: #D3D3D3;
    --color-on-accent: #071111;
  }
}

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
Backgroundfrom palette · color 5adjusted for contrast · from #2F4F4F
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #708090from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.19:1AAA pass 4.5:1
Text on surface8.70:1AAA pass 4.5:1
Muted text on background4.54:1AA pass 4.5:1
Label on primary5.18:1AA pass 4.5:1
Label on accent6.41:1AA pass 4.5:1
Primary on background3.72:1AA Large pass 3:1
Accent on background3.01:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.55:1AAA pass 4.5:1
Text on surface15.96:1AAA pass 4.5:1
Muted text on background5.54:1AA pass 4.5:1
Label on primary4.72:1AA pass 4.5:1
Label on accent12.78:1AAA pass 4.5:1
Primary on background4.72:1AA pass 3:1
Accent on background12.78:1AAA 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#2F4F4F (Text 1)#708090 (Text 2)#A9A9A9 (Text 3)#D3D3D3 (Text 4)#F5F5F5 (Text 5)
#2F4F4FSame color2.20—3.80AA Large5.96AA8.19AAA
#7080902.20—Same color1.73—2.71—3.72AA Large
#A9A9A93.80AA Large1.73—Same color1.57—2.16—
#D3D3D35.96AA2.71—1.57—Same color1.37—
#F5F5F58.19AAA3.72AA Large2.16—1.37—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2F4F4F#708090#A9A9A9#D3D3D3#F5F5F5

Variations

About Pencil Shading

Five colors make up Pencil Shading, a balanced neutral set: #2F4F4F, #708090, #A9A9A9, #D3D3D3, #F5F5F5. #2F4F4F is the only chromatic color, so it naturally becomes the focal point against the neutrals. With lightness between 40% and 97% and #A9A9A9 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.014, very low for a palette, so the palette is close to grayscale; the most saturated color is #2F4F4F. Text contrast reaches 8.2:1 in light mode and 17.6:1 in dark mode, with #708090 as primary and #8E8E8E as accent. Try it for icons and logos, typography-led layouts and focused single-product sites, letting gray #708090 carry the key actions.

Pencil Shading color palette: #2F4F4F, #708090, #A9A9A9, #D3D3D3, #F5F5F5
Share image for Pencil Shading

Gradients in similar colors