Warm Brown & Lavender
A bold palette of 4 colors from the Afoli gallery: #002A40, #974900, #BE9F53, #D8EDFF.
Open in the Afoli palette generator →
#002A40 · Midnight Blue#974900 · Saddle Brown#BE9F53 · Goldenrod#D8EDFF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #002A40 | rgb(0, 42, 64) | hsl(201, 100%, 13%) | 100, 34, 0, 75 | ≈ Midnight Blue |
| #974900 | rgb(151, 73, 0) | hsl(29, 100%, 30%) | 0, 52, 100, 41 | ≈ Saddle Brown |
| #BE9F53 | rgb(190, 159, 83) | hsl(43, 45%, 54%) | 0, 16, 56, 25 | ≈ Goldenrod |
| #D8EDFF | rgb(216, 237, 255) | hsl(208, 100%, 92%) | 15, 7, 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 · #BE9F53
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 12.44 : 1 | -91 | Pass |
| Text on a card | 12.44 : 1 | -91 | Pass |
| Button label | 5.89 : 1 | 50 | Pass (WCAG) |
| Heading on background | 5.89 : 1 | -49 | Pass (WCAG) |
| Link on a card | 5.89 : 1 | -49 | Pass (WCAG) |
| Accent badge on a card | 2.33 : 1 | -17 | Fail |
| Primary control on background | 5.89 : 1 | -49 | Pass |
CSS variables
:root {
--midnight-blue: #002A40;
--saddle-brown: #974900;
--goldenrod: #BE9F53;
--lavender: #D8EDFF;
}
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 Warm 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 Warm Brown & Lavender can I use for text?
#002A40 text on #D8EDFF reaches 12.44 : 1, the strongest pair of the palette.
Similar palettes
- Navy Blue & Pale Blue
- Marine & Lavender
- Sandy Brown & Very Dark Brown
- Brown Green & Old Lace
- Yellowish Brown & Dark Brown
- Navy Green & Light Gray
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)