Mud Brown & Lavender
A pastel palette of 3 colors from the Afoli gallery: #574216, #CBDDAF, #EFE9FF.
Open in the Afoli palette generator →
#574216 · Dark Slate Gray#CBDDAF · Pale Goldenrod#EFE9FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #574216 | rgb(87, 66, 22) | hsl(41, 60%, 21%) | 0, 24, 75, 66 | ≈ Dark Slate Gray |
| #CBDDAF | rgb(203, 221, 175) | hsl(83, 40%, 78%) | 8, 0, 21, 13 | ≈ Pale Goldenrod |
| #EFE9FF | rgb(239, 233, 255) | hsl(256, 100%, 96%) | 6, 9, 0, 0 | ≈ Lavender |
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 · #574216
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 8.09 : 1 | 81 | Pass |
| Text on a card | 6.60 : 1 | 68 | Pass (WCAG) |
| Button label | 8.09 : 1 | -84 | Pass |
| Heading on background | 8.09 : 1 | 81 | Pass |
| Link on a card | 6.60 : 1 | 68 | Pass (WCAG) |
| Accent badge on a card | 6.60 : 1 | 68 | Pass |
| Primary control on background | 8.09 : 1 | 81 | Pass |
CSS variables
:root {
--dark-slate-gray: #574216;
--pale-goldenrod: #CBDDAF;
--lavender: #EFE9FF;
}
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 Mud Brown & Lavender 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 Mud Brown & Lavender can I use for text?
#574216 text on #EFE9FF reaches 8.09 : 1, the strongest pair of the palette.
Similar palettes
- Light Blue Grey & Charcoal Grey
- Sand & Chocolate Brown
- Pink & Charcoal
- Light Sage & Dark Brown
- Hospital Green & Dark Blue Grey
- Light Blue & Charcoal
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)