Export

Code

/* Mocha Cream — colorset.net */
:root {
  --color-1: #8B6F47;
  --color-2: #A68A5B;
  --color-3: #C4A572;
  --color-4: #D9C4A0;
  --color-5: #E8D5B7;

  --color-bg: #FCF6ED;
  --color-surface: #F2EDE4;
  --color-border: #DBD4C8;
  --color-text: #654A22;
  --color-muted: #796952;
  --color-primary: #8B6F47;
  --color-on-primary: #FFFFFF;
  --color-accent: #958468;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160E03;
    --color-surface: #21180B;
    --color-border: #372C1C;
    --color-text: #E8D5B7;
    --color-muted: #918269;
    --color-primary: #8B6F47;
    --color-on-primary: #FFFFFF;
    --color-accent: #D9C4A0;
    --color-on-accent: #160E03;
  }
}

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 #E8D5B7adjusted for contrast · from #8B6F47
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8B6F47from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 1from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #A68A5Bfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.65:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary4.71:1AA pass 4.5:1
Label on accent5.78:1AA pass 4.5:1
Primary on background4.38:1AA Large pass 3:1
Accent on background3.38:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.32:1AAA pass 4.5:1
Text on surface12.19:1AAA pass 4.5:1
Muted text on background5.10:1AA pass 4.5:1
Label on primary4.71:1AA pass 4.5:1
Label on accent11.25:1AAA pass 4.5:1
Primary on background4.06:1AA Large pass 3:1
Accent on background11.25: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#8B6F47 (Text 1)#A68A5B (Text 2)#C4A572 (Text 3)#D9C4A0 (Text 4)#E8D5B7 (Text 5)
#8B6F47Same color1.44—2.01—2.77—3.28AA Large
#A68A5B1.44—Same color1.40—1.93—2.28—
#C4A5722.01—1.40—Same color1.38—1.63—
#D9C4A02.77—1.93—1.38—Same color1.18—
#E8D5B73.28AA Large2.28—1.63—1.18—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8B6F47#A68A5B#C4A572#D9C4A0#E8D5B7

Variations

About Mocha Cream

Mocha Cream brings together a dusty brown, two yellows, a light yellow and a cream (#8B6F47, #A68A5B, #C4A572, #D9C4A0, #E8D5B7) in a warm, yellow-led scheme. All hues sit within 5° of each other, so dusty brown #8B6F47 and its relatives form a cohesive monochromatic scheme. With lightness between 56% and 88% and #C4A572 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.063, low for a palette, so the colors feel soft and muted; the most saturated color is #C4A572. In light mode #FCF6ED becomes the background with #654A22 text at 7.6:1, and #8B6F47 takes the primary role. With #8B6F47 leading, good fits include focused single-product sites, minimal branding and icons and logos.

Mocha Cream color palette: #8B6F47, #A68A5B, #C4A572, #D9C4A0, #E8D5B7
Share image for Mocha Cream

Gradients in similar colors