Export

Code

/* Espresso Black — colorset.net */
:root {
  --color-1: #2C1810;
  --color-2: #3E2415;
  --color-3: #4A2C1F;
  --color-4: #5C3A28;
  --color-5: #704214;

  --color-bg: #FFF5ED;
  --color-surface: #F8EBE0;
  --color-border: #E2D2C5;
  --color-text: #2C1810;
  --color-muted: #7D645A;
  --color-primary: #704214;
  --color-on-primary: #FFFFFF;
  --color-accent: #3E2415;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #2C1810;
    --color-surface: #38231A;
    --color-border: #50372D;
    --color-text: #CEAF96;
    --color-muted: #A48D79;
    --color-primary: #98673B;
    --color-on-primary: #FFFFFF;
    --color-accent: #C99C77;
    --color-on-accent: #2C1810;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.69:1AAA pass 4.5:1
Text on surface14.42:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary8.47:1AAA pass 4.5:1
Label on accent14.31:1AAA pass 4.5:1
Primary on background7.88:1AAA pass 3:1
Accent on background13.31:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.19:1AAA pass 4.5:1
Text on surface7.16:1AAA pass 4.5:1
Muted text on background5.35:1AA pass 4.5:1
Label on primary4.84:1AA pass 4.5:1
Label on accent6.83:1AA pass 4.5:1
Primary on background3.48:1AA Large pass 3:1
Accent on background6.83: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#2C1810 (Text 1)#3E2415 (Text 2)#4A2C1F (Text 3)#5C3A28 (Text 4)#704214 (Text 5)
#2C1810Same color1.18—1.34—1.68—1.99—
#3E24151.18—Same color1.14—1.42—1.69—
#4A2C1F1.34—1.14—Same color1.25—1.48—
#5C3A281.68—1.42—1.25—Same color1.19—
#7042141.99—1.69—1.48—1.19—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2C1810#3E2415#4A2C1F#5C3A28#704214

Variations

About Espresso Black

Espresso Black brings together two deep browns and three dark browns (#2C1810, #3E2415, #4A2C1F, #5C3A28, #704214) in a warm, brown-led scheme. All hues sit within 19° of each other, so deep brown #2C1810 and its relatives form a cohesive monochromatic scheme. From #2C1810 to #704214 the colors share a similar dark value (lightness 23%–43%), which suits fills and illustration more than body text. Average chroma is 0.055, low for a palette, so the colors feel soft and muted; the most saturated color is #704214. In light mode #FFF5ED becomes the background with #2C1810 text at 15.7:1, and #704214 takes the primary role. Try it for gaming sites, dark-mode dashboards and film and media, letting dark brown #704214 carry the key actions.

Espresso Black color palette: #2C1810, #3E2415, #4A2C1F, #5C3A28, #704214
Share image for Espresso Black

Gradients in similar colors