Yellowish Brown & Dark Brown
A bold palette of 3 colors from the Afoli gallery: #281C00, #9B7F2F, #E6E9FF.
Open in the Afoli palette generator →
#281C00 · Dark Slate Gray#9B7F2F · Olive#E6E9FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #281C00 | rgb(40, 28, 0) | hsl(42, 100%, 8%) | 0, 30, 100, 84 | ≈ Dark Slate Gray |
| #9B7F2F | rgb(155, 127, 47) | hsl(44, 53%, 40%) | 0, 18, 70, 39 | ≈ Olive |
| #E6E9FF | rgb(230, 233, 255) | hsl(233, 100%, 95%) | 10, 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 · #9B7F2F
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 13.90 : 1 | -92 | Pass |
| Text on a card | 13.90 : 1 | -92 | Pass |
| Button label | 4.35 : 1 | 36 | Fail |
| Heading on background | 4.35 : 1 | -34 | Pass (WCAG) |
| Link on a card | 4.35 : 1 | -34 | Fail |
| Accent badge on a card | 4.35 : 1 | -34 | Pass (WCAG) |
| Primary control on background | 4.35 : 1 | -34 | Pass (WCAG) |
CSS variables
:root {
--dark-slate-gray: #281C00;
--olive: #9B7F2F;
--lavender: #E6E9FF;
}
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 Yellowish Brown & Dark 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 Yellowish Brown & Dark Brown can I use for text?
#281C00 text on #E6E9FF reaches 13.90 : 1, the strongest pair of the palette.
Similar palettes
- Earth & Sea Shell
- Dark Sand & Dark Brown
- Brown Orange & Deep Brown
- Wheat & Dark Brown
- Swamp Green & Very Dark Purple
- Drab & 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)