Dark Slate

Export

Code

/* Dark Slate — colorset.net */
:root {
  --color-1: #2F4F4F;
  --color-2: #8B4513;
  --color-3: #228B22;
  --color-4: #87CEEB;
  --color-5: #FFFFFF;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #2F4F4F;
  --color-muted: #567777;
  --color-primary: #1D881E;
  --color-on-primary: #FFFFFF;
  --color-accent: #8B4513;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #071111;
    --color-surface: #111C1C;
    --color-border: #223131;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #1D881E;
    --color-on-primary: #FFFFFF;
    --color-accent: #9B5325;
    --color-on-accent: #FFFFFF;
  }
}

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
Primaryadjusted for contrast · from #228B22adjusted for contrast · from #228B22
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #8B4513
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.93:1AAA pass 4.5:1
Text on surface8.26:1AAA pass 4.5:1
Muted text on background4.88:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent7.10:1AAA pass 4.5:1
Primary on background4.57:1AA pass 3:1
Accent on background7.10:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.14:1AAA pass 4.5:1
Text on surface17.40:1AAA pass 4.5:1
Muted text on background5.92:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent5.74:1AA pass 4.5:1
Primary on background4.19:1AA Large pass 3:1
Accent on background3.33:1AA Large 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)#8B4513 (Text 2)#228B22 (Text 3)#87CEEB (Text 4)#FFFFFF (Text 5)
#2F4F4FSame color1.26—2.03—5.13AA8.93AAA
#8B45131.26—Same color1.62—4.08AA Large7.10AAA
#228B222.03—1.62—Same color2.52—4.39AA Large
#87CEEB5.13AA4.08AA Large2.52—Same color1.74—
#FFFFFF8.93AAA7.10AAA4.39AA Large1.74—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2F4F4F#8B4513#228B22#87CEEB#FFFFFF

Variations

About Dark Slate

No single hue dominates Dark Slate: green carries about 34% of the color weight, shared with brown and blue, and green #228B22 sits in the middle of the range. A 175° hue spread puts brown against light blue #87CEEB, close to a complementary contrast. Lightness spans 40% (#2F4F4F) to 100% (#FFFFFF), a moderate range; text roles may need slight darkening for full contrast. Saturation is low (mean OKLCH chroma 0.080, peaking at 0.169 in #228B22); the colors feel soft and muted. In light mode #FFFFFF becomes the background with #2F4F4F text at 8.9:1, and #1D881E takes the primary role. Try it for illustration, data visualization and brand systems with many sub-brands, letting green #228B22 carry the key actions.

Dark Slate color palette: #2F4F4F, #8B4513, #228B22, #87CEEB, #FFFFFF
Share image for Dark Slate

Gradients in similar colors