Export

Code

/* Cocoa Truffle — colorset.net */
:root {
  --color-1: #3B2414;
  --color-2: #5D3A1A;
  --color-3: #7B4B26;
  --color-4: #A0603F;
  --color-5: #C47D5E;

  --color-bg: #FFF4F0;
  --color-surface: #FAEAE3;
  --color-border: #E4D0C8;
  --color-text: #3B2414;
  --color-muted: #7D6555;
  --color-primary: #A0603F;
  --color-on-primary: #FFFFFF;
  --color-accent: #5D3A1A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150D08;
    --color-surface: #201712;
    --color-border: #372B23;
    --color-text: #C39D8E;
    --color-muted: #9A7D71;
    --color-primary: #A0603F;
    --color-on-primary: #FFFFFF;
    --color-accent: #7C6150;
    --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
Backgroundadjusted for contrast · from #C47D5Eadjusted for contrast · from #3B2414
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #C47D5E
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #A0603F
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.43:1AAA pass 4.5:1
Text on surface12.39:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary4.95:1AA pass 4.5:1
Label on accent10.07:1AAA pass 4.5:1
Primary on background4.59:1AA pass 3:1
Accent on background9.33:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.81:1AAA pass 4.5:1
Text on surface7.15:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary4.95:1AA pass 4.5:1
Label on accent5.70:1AA pass 4.5:1
Primary on background3.88:1AA Large pass 3:1
Accent on background3.37: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#3B2414 (Text 1)#5D3A1A (Text 2)#7B4B26 (Text 3)#A0603F (Text 4)#C47D5E (Text 5)
#3B2414Same color1.44—1.99—2.93—4.45AA Large
#5D3A1A1.44—Same color1.38—2.03—3.09AA Large
#7B4B261.99—1.38—Same color1.47—2.24—
#A0603F2.93—2.03—1.47—Same color1.52—
#C47D5E4.45AA Large3.09AA Large2.24—1.52—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#3B2414#5D3A1A#7B4B26#A0603F#C47D5E

Variations

About Cocoa Truffle

Five colors make up Cocoa Truffle, a warm brown set: #3B2414, #5D3A1A, #7B4B26, #A0603F, #C47D5E. All hues sit within 17° of each other, so deep brown #3B2414 and its relatives form a cohesive monochromatic scheme. With lightness between 29% and 66% and #7B4B26 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.078, low for a palette, so the colors feel soft and muted; the most saturated color is #C47D5E. As a UI theme it uses #A0603F for primary actions and #5D3A1A as the accent; dark mode sits on #150D08 with #C39D8E text (7.8:1). Try it for heritage brands, icons and logos and typography-led layouts, letting brown #A0603F carry the key actions.

Cocoa Truffle color palette: #3B2414, #5D3A1A, #7B4B26, #A0603F, #C47D5E
Share image for Cocoa Truffle

Gradients in similar colors