AfoliOpen Afoli →

Yellowy Green & Dark Brown

A bold palette of 5 colors from the Afoli gallery: #1C1E00, #3943B6, #A17D00, #96AAFF, #B7F15A.

Open in the Afoli palette generator →

#1C1E00 · Dark Slate Gray#3943B6 · Dark Slate Blue#A17D00 · Dark Goldenrod#96AAFF · Cornflower Blue#B7F15A · Green Yellow

Colors in this palette

HEXRGBHSLCMYKNearest named color
#1C1E00rgb(28, 30, 0)hsl(64, 100%, 6%)7, 0, 100, 88≈ Dark Slate Gray
#3943B6rgb(57, 67, 182)hsl(235, 52%, 47%)69, 63, 0, 29≈ Dark Slate Blue
#A17D00rgb(161, 125, 0)hsl(47, 100%, 32%)0, 22, 100, 37≈ Dark Goldenrod
#96AAFFrgb(150, 170, 255)hsl(229, 100%, 79%)41, 33, 0, 0≈ Cornflower Blue
#B7F15Argb(183, 241, 90)hsl(83, 84%, 65%)24, 0, 63, 5≈ Green Yellow

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 · #96AAFF
Button

Roles: background #1C1E00, surface #1C1E00, text #B7F15A, primary #96AAFF, accent #A17D00 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background12.75 : 1-86Pass
Text on a card12.75 : 1-86Pass
Button label7.68 : 158Pass (WCAG)
Heading on background7.68 : 1-57Pass (WCAG)
Link on a card7.68 : 1-57Pass (WCAG)
Accent badge on a card4.41 : 1-34Pass (WCAG)
Primary control on background7.68 : 1-57Pass

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 {
  --dark-slate-gray: #1C1E00;
  --dark-slate-blue: #3943B6;
  --dark-goldenrod: #A17D00;
  --cornflower-blue: #96AAFF;
  --green-yellow: #B7F15A;
}

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 Yellowy Green & 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 Yellowy Green & Dark Brown can I use for text?

#1C1E00 text on #B7F15A reaches 12.75 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026