AfoliOpen Afoli →

Dark Brown & Moccasin

A dark palette of 5 colors from the Afoli gallery: #0A0400, #171700, #362A01, #363A55, #F6E6BE.

Open in the Afoli palette generator →

#0A0400 · Black#171700 · Black#362A01 · Dark Slate Gray#363A55 · Dark Slate Gray#F6E6BE · Moccasin

Colors in this palette

HEXRGBHSLCMYKNearest named color
#0A0400rgb(10, 4, 0)hsl(24, 100%, 2%)0, 60, 100, 96≈ Black
#171700rgb(23, 23, 0)hsl(60, 100%, 5%)0, 0, 100, 91≈ Black
#362A01rgb(54, 42, 1)hsl(46, 96%, 11%)0, 22, 98, 79≈ Dark Slate Gray
#363A55rgb(54, 58, 85)hsl(232, 22%, 27%)36, 32, 0, 67≈ Dark Slate Gray
#F6E6BErgb(246, 230, 190)hsl(43, 76%, 85%)0, 7, 23, 4≈ Moccasin

Preview in a UI

A heading in the primary color

Body text on the background, as a page or an app would show it.

Text on a card · #362A01
Button

Roles: background #F6E6BE, surface #F6E6BE, text #0A0400, primary #362A01, accent #363A55 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background16.48 : 192Pass
Text on a card16.48 : 192Pass
Button label11.41 : 1-88Pass
Heading on background11.41 : 187Pass
Link on a card11.41 : 187Pass
Accent badge on a card8.97 : 181Pass
Primary control on background11.41 : 187Pass

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

CSS variables

:root {
  --black: #0A0400;
  --black-2: #171700;
  --dark-slate-gray: #362A01;
  --dark-slate-gray-2: #363A55;
  --moccasin: #F6E6BE;
}

How this palette was made

Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).

Frequently asked questions

How do I use the Dark Brown & Moccasin palette in CSS?

Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.

Which colors of Dark Brown & Moccasin can I use for text?

#0A0400 text on #F6E6BE reaches 16.48 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026