#8E5C3A
#E8C878
#8EA05C
#2E1406
Background
Primary Accent
Secondary
Body Text

Bahia Palace Color Palette

#8E5C3A · #E8C878 · #8EA05C · #2E1406

Fail
WCAG Grade
3.1:1
Contrast Ratio
1,020
Saves
2,750
AI Copies
AI Prompt

Use #8E5C3A as the background. Use #E8C878 as the primary accent. Use #8EA05C as secondary. Use #2E1406 as body text/supporting color. Palette mood: Bahia Palace — palace, gilt, courtyards.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Bahia Palace color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 13.7%
142, 92, 58 0%, 35%, 59%, 44% 24°, 42%, 39%
Primary Accent
Luminance: 59.8%
232, 200, 120 0%, 14%, 48%, 9% 43°, 71%, 69%
Secondary
Luminance: 31.7%
142, 160, 92 11%, 0%, 42%, 37% 76°, 27%, 49%
Body Text
Luminance: 1.1%
46, 20, 6 0%, 57%, 87%, 82% 21°, 77%, 10%

Bahia Palace Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Bahia Palace palette — click any swatch to copy its hex.

#8E5C3A gently saturated orange
#E8C878 saturated orange
#8EA05C gently saturated yellow-green
#2E1406 saturated orange

Bahia Palace Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#2E1406 on #E8C878
Aa Sample Text
10.64:1 AAA Body text, headings, UI
#E8C878 on #2E1406
Aa Sample Text
10.64:1 AAA Body text, headings, UI
#2E1406 on #8EA05C
Aa Sample Text
6.02:1 AA Body text, UI
#8EA05C on #2E1406
Aa Sample Text
6.02:1 AA Body text, UI
#E8C878 on #8E5C3A
Aa Sample Text
3.46:1 Fail Large headings, UI components
#8E5C3A on #E8C878
Aa Sample Text
3.46:1 Fail Large headings, UI components
#2E1406 on #8E5C3A
Aa Sample Text
3.07:1 Fail Large headings, UI components
#8E5C3A on #2E1406
Aa Sample Text
3.07:1 Fail Large headings, UI components
#8EA05C on #8E5C3A
Aa Sample Text
1.96:1 Fail Decorative use only
#8E5C3A on #8EA05C
Aa Sample Text
1.96:1 Fail Decorative use only
#8EA05C on #E8C878
Aa Sample Text
1.77:1 Fail Decorative use only
#E8C878 on #8EA05C
Aa Sample Text
1.77:1 Fail Decorative use only

Bahia Palace Color Psychology & Meaning

The Bahia Palace is Marrakechs masterpiece of carved cedar, zellige tile, and gilded ceilings around shaded courtyards, and this palette is mahogany with gilt gold. It feels sumptuous and calm, the color of a palace built to impress and to rest.

Color Harmony: Custom Scheme

The Bahia Palace palette is built using a custom relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A custom palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

The Bahia Palace was built in the 1860s-90s for the grand vizier Si Moussa and his son Ba Ahmed, using craftsmen from across Morocco; its name means brilliance, and its harem and great courtyard survive intact.

Best Design Use Cases

Use the mahogany for the woodwork, gilt gold for the ceilings and accents, tile green for details, and the darkest brown for text.

Industries This Palette Suits

Heritage, tourism, architecture, craft, hospitality.

Colors That Pair Well With Bahia Palace

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

blue

directly opposite #E8C878 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

yellow-green

30° beside #E8C878 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Bahia Palace Without Breaking Accessibility

  • Use #E8C878 for buttons and links — it scores 3.5:1 against the #8E5C3A background (above the 3:1 UI-components threshold).
  • Don't set body copy in #2E1406 on #8E5C3A — 3.1:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #8EA05C carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #E8C878.

How to Implement the Bahia Palace Color Scheme

To use this Bahia Palace color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #8E5C3A for the main background and #E8C878 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #2E1406 and #8E5C3A is 3.07:1 (Fail). Ensure your body text remains legible.

Bahia Palace Palette — Frequently Asked Questions

What are the hex codes in the Bahia Palace color palette?

The Bahia Palace palette contains #8E5C3A, #E8C878, #8EA05C, #2E1406. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Bahia Palace color palette accessible (WCAG)?

Yes for its strongest pairings: #2E1406 on #E8C878 reaches 10.6:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination in this palette.

What colors go well with the Bahia Palace palette?

Beyond its own four colors, #7898E8, #CBE080, #EFEDEB extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Bahia Palace palette create?

Bahia Palace reads as palace, gilt, courtyards. Saturated orange drives the personality, grounded by gently saturated orange — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Bahia Palace color palette commercially?

Yes. Individual color values can't be copyrighted, so the Bahia Palace palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Bahia Palace palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Bahia Palace's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content