AfoliOpen Afoli →

Moccasin & Chocolate Brown

A pastel palette of 3 colors from the Afoli gallery: #432C15, #CBD3EC, #F9EDBF.

Open in the Afoli palette generator →

#432C15 · Dark Slate Gray#CBD3EC · Light Gray#F9EDBF · Moccasin

Colors in this palette

HEXRGBHSLCMYKNearest named color
#432C15rgb(67, 44, 21)hsl(30, 52%, 17%)0, 34, 69, 74≈ Dark Slate Gray
#CBD3ECrgb(203, 211, 236)hsl(225, 46%, 86%)14, 11, 0, 7≈ Light Gray
#F9EDBFrgb(249, 237, 191)hsl(48, 83%, 86%)0, 5, 23, 2≈ 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 · #432C15
Button

Roles: background #F9EDBF, surface #CBD3EC, text #432C15, primary #432C15, accent #432C15 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background11.12 : 188Pass
Text on a card8.74 : 174Pass (WCAG)
Button label11.12 : 1-91Pass
Heading on background11.12 : 188Pass
Link on a card8.74 : 174Pass (WCAG)
Accent badge on a card8.74 : 174Pass
Primary control on background11.12 : 188Pass

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 {
  --dark-slate-gray: #432C15;
  --light-gray: #CBD3EC;
  --moccasin: #F9EDBF;
}

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 Moccasin & Chocolate Brown 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 Moccasin & Chocolate Brown can I use for text?

#432C15 text on #F9EDBF reaches 11.12 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026