Skip to content
#8EA05C
#C8D8A8
#C8B890
#1E2E12
Background
Decorative / accent
Decorative / accent
Text · AA

Meknes Gates Color Palette

#8EA05C · #C8D8A8 · #C8B890 · #1E2E12

AA
WCAG Grade
5.04:1
Contrast Ratio
AI Prompt

Use #8EA05C as the background. Use #C8D8A8 as the primary accent. Use #C8B890 as secondary. Use #1E2E12 as body text/supporting color. Palette mood: Meknes Gates — gates, imperial, green.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Meknes Gates 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: 31.7%
142, 160, 92 11%, 0%, 42%, 37% 76°, 27%, 49%
Decorative / accent
Luminance: 64.2%
200, 216, 168 7%, 0%, 22%, 15% 80°, 38%, 75%
Decorative / accent
Luminance: 48.6%
200, 184, 144 0%, 8%, 28%, 22% 43°, 34%, 67%
Text · AA
Luminance: 2.3%
30, 46, 18 35%, 0%, 61%, 82% 94°, 44%, 13%

Meknes Gates 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 Meknes Gates palette — click any swatch to copy its hex.

#8EA05C gently saturated yellow-green
#C8D8A8 gently saturated yellow-green
#C8B890 gently saturated orange
#1E2E12 gently saturated yellow-green

Meknes Gates 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
#1E2E12 on #C8D8A8
Aa Sample Text
9.51:1 AAA Body text, headings, UI
#C8D8A8 on #1E2E12
Aa Sample Text
9.51:1 AAA Body text, headings, UI
#1E2E12 on #C8B890
Aa Sample Text
7.36:1 AAA Body text, headings, UI
#C8B890 on #1E2E12
Aa Sample Text
7.36:1 AAA Body text, headings, UI
#1E2E12 on #8EA05C
Aa Sample Text
5.04:1 AA Body text, UI
#8EA05C on #1E2E12
Aa Sample Text
5.04:1 AA Body text, UI
#C8D8A8 on #8EA05C
Aa Sample Text
1.88:1 Fail Decorative use only
#8EA05C on #C8D8A8
Aa Sample Text
1.88:1 Fail Decorative use only
#C8B890 on #8EA05C
Aa Sample Text
1.46:1 Fail Decorative use only
#8EA05C on #C8B890
Aa Sample Text
1.46:1 Fail Decorative use only
#C8B890 on #C8D8A8
Aa Sample Text
1.29:1 Fail Decorative use only
#C8D8A8 on #C8B890
Aa Sample Text
1.29:1 Fail Decorative use only

Palette Details

Meknes is the imperial city of monumental gates, its Bab Mansour crowned with green tiles. All four colors are balanced (27–44%), with lightness running 13–75%. Body text #1E2E12 on #8EA05C measures 5.04:1 (AA for normal text); the accent #C8D8A8 measures 1.88:1 against the same background.

Color Harmony: Analogous

Two neighbouring hue groups sit 40° apart (43°, 83°) — the extended analogous range.

Hue Wheel

Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.

History & Design Context

Meknes became the capital of Morocco in 1672 under Moulay Ismail, who built its massive walls, granaries, and the Bab Mansour gate, finished in 1732 and considered the finest gate in North Africa.

Best Design Use Cases

Use the tile green for the gates and accents, warm stone for the walls, pale cream for highlights, and deep green for text.

Measured best pair: #1E2E12 on #C8D8A8 at 9.51:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Colors That Pair Well With Meknes Gates

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.

violet

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

green

30° beside #C8D8A8 — 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 Meknes Gates Without Breaking Accessibility

  • Avoid #C8D8A8 for small UI elements on #8EA05C — at 1.88:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #1E2E12 — 5.04:1 against #8EA05C passes WCAG AA (AA) for long-form reading.
  • Don't use #C8B890 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Meknes Gates Color Scheme

To use this Meknes Gates color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Meknes Gates — ihatecolors */
  --color-bg: #8EA05C;
  --color-accent: #C8D8A8;
  --color-secondary: #C8B890;
  --color-text: #1E2E12;
}

Web Design Tip

#C8D8A8 on #8EA05C measures 1.88:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.

Accessibility Note

Body copy in #1E2E12 on #8EA05C measures 5.04:1, which passes WCAG AA for normal text but not AAA (7:1).

Meknes Gates Palette — Frequently Asked Questions

What are the hex codes in the Meknes Gates color palette?

The Meknes Gates palette contains #8EA05C, #C8D8A8, #C8B890, #1E2E12. 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 Meknes Gates color palette accessible (WCAG)?

Yes. #1E2E12 on #C8D8A8 reaches 9.51:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Meknes Gates palette?

Beyond its own four colors, #A995D0, #B3D1AD, #EEEEEC 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 Meknes Gates palette create?

Meknes Gates reads as gates, imperial, green. Gently saturated yellow-green drives the personality, grounded by gently saturated yellow-green — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Meknes Gates color palette commercially?

Yes. Individual color values can't be copyrighted, so the Meknes Gates 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 Meknes Gates 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 Meknes Gates's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦