Palette maker

Islamic Colors: Traditional Color Palette and Hex Codes

The classic Islamic colors are green, white, black, gold and a deep blue, and the core green is . Pair it with white , black , gold and deep blue for a traditional palette.

Fresh ideas, made simple

A short line of body text to test how readable these colors are.

Get started

Text contrast

-

    On this page
    1. Main colors
    2. Color codes
    3. Green
    4. Other colors
    5. Flags
    6. Green shades
    7. Contrast
    8. Web and UI
    9. Print and decor
    10. Respectful use
    11. FAQ

    There is no single official Islamic palette. These five are the colors that keep appearing in banners, mosque domes, pilgrim clothing, calligraphy and tiles, and the strip above gives you the codes to copy and a preview to test text contrast. Below you will find exact values, meanings, flag history, accessibility numbers and practical advice for web, print and interiors.

    What Are the Main Islamic Colors?

    Five colors carry most of the visual language. One reference guide calls green the most revered color in the tradition, with white, gold and deep blue also holding specific weight in worship and sacred art. Earthy browns, sand, turquoise and terracotta show up constantly in architecture too, but the five below are the shared core.

    Here is how they usually read:

    • Green: Paradise, the Prophet’s tradition, mosque domes, many flags
    • White: purity, equality, pilgrim clothing
    • Black: dignity, the covering of the Kaaba, historic banners
    • Gold: calligraphy, illumination, domes, light
    • Deep blue: tilework, sky, calm reflection

    Hex, RGB, HSL and CMYK Codes for Each Color

    Every value below is calculated directly from the hex code. The CMYK numbers are a plain mathematical conversion, so a press with its own color profile will return slightly different figures.

    Color HEX RGB HSL CMYK
    Islamic Green 0, 108, 53 149°, 100%, 21% 100, 0, 51, 58
    White 255, 255, 255 0°, 0%, 100% 0, 0, 0, 0
    Black 0, 0, 0 0°, 0%, 0% 0, 0, 0, 100
    Gold 212, 175, 55 46°, 65%, 52% 0, 17, 74, 17
    Deep Blue 27, 79, 114 204°, 62%, 28% 76, 31, 0, 55

    When I build a layout from this set, I start with roughly 60 percent white, 25 percent green, 10 percent deep blue or black and 5 percent gold. Gold works as an accent, not a large field, because it is the weakest partner for text contrast.

    Horizontal bar split 60, 25, 10 and 5 percent into white, green, deep blue and gold, with an app screen example
    Build with about 60% white, 25% green, 10% deep blue and just 5% gold.

    Why Green Is the Color Most Linked to Islam

    Green’s standing comes from scripture and history. The Quran describes the people of Paradise wearing green garments (Surah Al-Kahf 18:31 is one example), and green became bound up with the Prophet’s tradition. Early dynasties used it as well: the Umayyads fought under white and green banners, and the Fatimids flew a green standard.

    The green dome above the Prophet’s tomb in Medina keeps that association visible today. Green still dominates mosque signage, prayer app interfaces and national flags. In design terms, earns its place because it is dark enough to carry white text and calm enough to sit behind Arabic calligraphy.

    Green is a tradition, not one fixed hex

    Each flag, mosque and brand picks its own green, so treat this one as a dependable design green rather than an official standard.

    White, Black, Gold and Blue: What Each One Carries

    White is the color of the pilgrim’s ihram and the simple funeral shroud, which is why it reads as purity and equality: everyone looks the same. Black is strongest at the Kaaba, where the black Kiswah with gold calligraphy conveys majesty and transcendence. Take care with plain black banners carrying white script, because scholars read the Islamic State’s black flag as an attempt to claim the caliphate’s heritage. A designer should avoid echoing it by accident.

    Gold appears in manuscript illumination, calligraphy and domes, where it stands for light and lasting value. For the wider yellow and amber family, the sun colors page shows how far warm tones can stretch. Blue is the tile color: cobalt and turquoise cover mosques in Iran, Turkey and Central Asia. If you want softer ceramic tints, the pastel blue page has a good range.

    Colors on Historic Banners and Modern Flags

    Early Islamic armies flew simple solid flags, generally black or white. Later dynasties took distinct colors: black for the Abbasids, white and green for the Umayyads, green for the Fatimids. The flag of the Arab Revolt gathered them into one design, where black, white and green stand for the early caliphates and Islam, with a red triangle at the hoist.

    That lineage explains modern flags. The four Pan-Arab colors, white, black, green and red, dominate the flags of Arab states. Pakistan’s flag is a white crescent and star on a green background. Algeria uses a vertical bicolor of green and white with a red crescent and star, and its green is specified as Pantone 356 C. That is why red is a common accent on flags even though it is not one of the five core colors here.

    How Islamic Green Differs From Other Greens

    sits at a hue of 149 degrees, leaning slightly toward blue-green. The CSS keyword green, , sits at 120 degrees and looks flatter and more like grass. Some color lists label as Islamic green, but that is an informal name, and it is noticeably brighter than the deep green used here.

    Nearby greens each have a job. Forest green is almost black and suits headings and body text on light pages. Emerald is bright and jewel-like, good for small highlights. For minty, lighter tints that keep the freshness without the weight, see the mint green page. If your green starts to look like a sports team or a grocery brand, it has probably drifted too far toward yellow.

    Which Color Pairings Pass Accessibility Checks

    WCAG asks for a contrast ratio of 4.5:1 for normal text at level AA, 3:1 for large text and interface components, and 7:1 for level AAA. I calculated these pairs from the exact hex codes:

    • White on : about 6.6:1, passes AA for body text
    • White on : about 8.7:1, passes AAA
    • Black on : about 10.0:1, passes AAA
    • Gold on white: about 2.1:1, fails
    • Gold on : about 3.1:1, large text and icons only
    • Gold on : about 4.1:1, large text only

    On a client’s prayer times app, the gold section headings on white measured only 2.1:1 and were nearly invisible in daylight. The fix cost nothing: gold moved onto the green and deep blue panels as borders and icons, and the headings became deep blue.

    Which text color is the safest choice on Islamic green #006C35?

    White reaches about 6.6:1 on this green, while gold manages only about 3.1:1 and black about 3.2:1.

    Using Islamic Colors in Web and App Design

    Define the five colors as CSS variables, then give each a clear role. Green is the primary brand color, white is the surface, deep blue handles links and secondary buttons, and gold is reserved for rules, icons and highlights on dark backgrounds. Soften body text from pure black to something like if long reading sessions matter.

    Two gradient bars from Islamic green to gold with hex pins, the second adding a midpoint stop to avoid olive
    A two-stop green to gold gradient turns olive in the middle; one added midpoint stop keeps it fresh.
    :root {
      --islamic-green: #006C35;
      --white: #FFFFFF;
      --black: #000000;
      --gold: #D4AF37;
      --deep-blue: #1B4F72;
    }
    .hero {
      background: linear-gradient(135deg, var(--islamic-green), var(--deep-blue));
      color: var(--white);
      border-bottom: 4px solid var(--gold);
    }

    A green to deep blue gradient makes a calm banner, and the dark blue gradient page has more CSS to build on. For Arabic interfaces, set dir=“rtl”, use logical CSS properties so margins flip correctly, and give Arabic script extra line height. Thin gold strokes on dark grounds need a heavier font weight to stay readable.

    Using Islamic Colors in Print, Interiors and Fashion

    A print proof once surprised me: converted to CMYK came back muddier than on screen, and the gold looked like mustard. Gold needs metallic ink or foil, since flat CMYK cannot produce shine. For brand work I specify the green as a spot color and always ask for a physical proof.

    You want a gold look on a printed invitation. What works best?

    Flat CMYK gold tends to look like mustard, because ink alone cannot reproduce metallic shine.

    Interiors lean on the same logic. White walls, a green accent, brass or gold fittings and deep blue tile make a calm room, and prayer rugs often bring in deep reds, where a shade like maroon adds warmth. In fashion, black is common in abayas, and white abayas and hijabs are a frequent choice for Hajj, Umrah and weddings.

    Respectful Ways to Build a Palette With These Colors

    Legibility comes first when calligraphy is involved. Keep Arabic script on a plain, high contrast ground, and avoid busy patterns behind it. Think twice before placing the shahada or Quranic verses on items that may be discarded or stepped on, and ask a Muslim reviewer to look at the work before it goes out.

    Mosque Garden

    Prayer apps, mosque websites and Eid greetings that need calm, familiar warmth.

    Kiswah Night

    Premium invitations and Ramadan posters with gold lettering on dark grounds.

    Iznik Tile

    Patterns, packaging and illustration inspired by Turkish and Persian ceramics.

    Ihram Calm

    Quiet interiors, wellness style layouts and minimal modest fashion lookbooks.

    Ramadan and Eid graphics often pair a gold crescent with deep blue, and the night sky palette offers dark blues that suit it. If you are designing for several communities at once, compare other festival sets such as Diwali colors to keep each one distinct rather than blended.

    Try this: Build one layout using only white, and at about 70, 25 and 5 percent. Check every text and background pair in a contrast tool, and move any gold text off white.

    Every color in this palette

    Islamic Colors: questions people ask

    What are the colors of Islam?

    There is no single official palette, but green, white, black, gold and blue recur most often in banners, mosques, calligraphy and clothing. Green is the one most closely linked to the faith.

    What is the hex code for Islamic green?

    This page uses #006C35 (RGB 0, 108, 53) as its Islamic green. Other color lists label #009000 as Islamic green, and national flags each define their own shade, so it is a design convention rather than a standard.

    Why is green important in Islam?

    The Quran describes the people of Paradise in green garments, and green is tied to the Prophet's tradition. Early dynasties such as the Umayyads and Fatimids also carried green on their banners.

    What does white mean in Islam?

    White stands for purity and equality. Pilgrims on Hajj wear simple white garments, so everyone looks alike regardless of wealth or status.

    Are any colors forbidden in Islam?

    No color is off limits for general design work such as logos, posters or websites. Rulings about clothing colors vary between scholars and schools, so for dress questions ask a qualified source.

    Keep exploring