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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #0A0400 | rgb(10, 4, 0) | hsl(24, 100%, 2%) | 0, 60, 100, 96 | ≈ Black |
| #171700 | rgb(23, 23, 0) | hsl(60, 100%, 5%) | 0, 0, 100, 91 | ≈ Black |
| #362A01 | rgb(54, 42, 1) | hsl(46, 96%, 11%) | 0, 22, 98, 79 | ≈ Dark Slate Gray |
| #363A55 | rgb(54, 58, 85) | hsl(232, 22%, 27%) | 36, 32, 0, 67 | ≈ Dark Slate Gray |
| #F6E6BE | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 16.48 : 1 | 92 | Pass |
| Text on a card | 16.48 : 1 | 92 | Pass |
| Button label | 11.41 : 1 | -88 | Pass |
| Heading on background | 11.41 : 1 | 87 | Pass |
| Link on a card | 11.41 : 1 | 87 | Pass |
| Accent badge on a card | 8.97 : 1 | 81 | Pass |
| Primary control on background | 11.41 : 1 | 87 | Pass |
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
- Dark Blue Grey & Bisque
- Royal Purple & Antique White
- Marine & Bisque
- Night Blue & Lavender
- Midnight Blue & Lavender
- Forest & Pale Aqua
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)