Export

Code

/* Dark Chocolate Bar — colorset.net */
:root {
  --color-1: #3F2720;
  --color-2: #5A3A2F;
  --color-3: #754D3E;
  --color-4: #90604D;
  --color-5: #AB735C;

  --color-bg: #FFF4F0;
  --color-surface: #FAEAE3;
  --color-border: #E4D0C8;
  --color-text: #3F2720;
  --color-muted: #82655D;
  --color-primary: #AB735C;
  --color-on-primary: #000000;
  --color-accent: #5A3A2F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150D0B;
    --color-surface: #201714;
    --color-border: #372A27;
    --color-text: #C39E8E;
    --color-muted: #9A7D71;
    --color-primary: #AB735C;
    --color-on-primary: #150D0B;
    --color-accent: #7B5F57;
    --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 #AB735Cadjusted for contrast · from #3F2720
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #AB735C
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #90604D
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background12.78:1AAA pass 4.5:1
Text on surface11.79:1AAA pass 4.5:1
Muted text on background4.90:1AA pass 4.5:1
Label on primary5.34:1AA pass 4.5:1
Label on accent10.09:1AAA pass 4.5:1
Primary on background3.64:1AA Large pass 3:1
Accent on background9.35:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.20:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary4.88:1AA pass 4.5:1
Label on accent5.81:1AA pass 4.5:1
Primary on background4.88:1AA pass 3:1
Accent on background3.31: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#3F2720 (Text 1)#5A3A2F (Text 2)#754D3E (Text 3)#90604D (Text 4)#AB735C (Text 5)
#3F2720Same color1.37—1.90—2.61—3.51AA Large
#5A3A2F1.37—Same color1.39—1.91—2.57—
#754D3E1.90—1.39—Same color1.37—1.85—
#90604D2.61—1.91—1.37—Same color1.35—
#AB735C3.51AA Large2.57—1.85—1.35—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#3F2720#5A3A2F#754D3E#90604D#AB735C

Variations

About Dark Chocolate Bar

Nearly all of the color weight in Dark Chocolate Bar sits in brown, which makes it a warm palette anchored by dusty brown #754D3E. With a hue spread of just 6°, it is effectively monochromatic: #3F2720, #5A3A2F and #754D3E differ mostly in lightness. Lightness spans 30% (#3F2720) to 61% (#AB735C), a moderate range; text roles may need slight darkening for full contrast. Saturation is low (mean OKLCH chroma 0.059, peaking at 0.079 in #AB735C); the colors feel soft and muted. As a UI theme it uses #AB735C for primary actions and #5A3A2F as the accent; dark mode sits on #150D0B with #C39E8E text (7.9:1). Its muted and monochrome character, led by #AB735C, suits organic food brands, outdoor gear and editorial design.

Dark Chocolate Bar color palette: #3F2720, #5A3A2F, #754D3E, #90604D, #AB735C
Share image for Dark Chocolate Bar

Gradients in similar colors