AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#002A40rgb(0, 42, 64)hsl(201, 100%, 13%)100, 34, 0, 75≈ Midnight Blue
#974900rgb(151, 73, 0)hsl(29, 100%, 30%)0, 52, 100, 41≈ Saddle Brown
#BE9F53rgb(190, 159, 83)hsl(43, 45%, 54%)0, 16, 56, 25≈ Goldenrod
#D8EDFFrgb(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
Button

Roles: background #002A40, surface #002A40, text #D8EDFF, primary #BE9F53, accent #974900 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background12.44 : 1-91Pass
Text on a card12.44 : 1-91Pass
Button label5.89 : 150Pass (WCAG)
Heading on background5.89 : 1-49Pass (WCAG)
Link on a card5.89 : 1-49Pass (WCAG)
Accent badge on a card2.33 : 1-17Fail
Primary control on background5.89 : 1-49Pass

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 {
  --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

Sources and licences

Updated November 21, 2026