Skip to content
#8E5C3A
#E8C878
#C85C3A
#2E1406
Background
Large text / UI
Decorative / accent
Large text / UI

Djinn Lamp Color Palette

#8E5C3A · #E8C878 · #C85C3A · #2E1406

Fail
WCAG Grade
3.07:1
Contrast Ratio
AI Prompt

Use #8E5C3A as the background. Use #E8C878 as the primary accent. Use #C85C3A as secondary. Use #2E1406 as body text/supporting color. Palette mood: Djinn Lamp — djinn, lamp, wish.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Djinn Lamp 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%
Large text / UI
Luminance: 59.8%
232, 200, 120 0%, 14%, 48%, 9% 43°, 71%, 69%
Decorative / accent
Luminance: 20.2%
200, 92, 58 0%, 54%, 71%, 22% 14°, 56%, 51%
Large text / UI
Luminance: 1.1%
46, 20, 6 0%, 57%, 87%, 82% 21°, 77%, 10%

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

#8E5C3A gently saturated orange
#E8C878 saturated orange
#C85C3A gently saturated red
#2E1406 saturated orange

Djinn Lamp 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.63:1 AAA Body text, headings, UI
#E8C878 on #2E1406
Aa Sample Text
10.63:1 AAA Body text, headings, UI
#2E1406 on #C85C3A
Aa Sample Text
4.14:1 Fail Large headings, UI components
#C85C3A on #2E1406
Aa Sample Text
4.14:1 Fail Large headings, UI components
#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
#C85C3A on #E8C878
Aa Sample Text
2.56:1 Fail Decorative use only
#E8C878 on #C85C3A
Aa Sample Text
2.56:1 Fail Decorative use only
#C85C3A on #8E5C3A
Aa Sample Text
1.34:1 Fail Decorative use only
#8E5C3A on #C85C3A
Aa Sample Text
1.34:1 Fail Decorative use only

Palette Details

The djinn is the spirit of smokeless fire, bound in lamps and granting wishes with a twist. Two of the four colors are balanced (42–56%) and the other two are highly saturated (71–77%), with lightness running 10–69%. Body text #2E1406 on #8E5C3A measures 3.07:1 (the 3:1 large-text threshold only); the accent #E8C878 measures 3.46:1 against the same background.

Color Harmony: Analogous

The saturated colors span 29° around 26° (orange) — neighbouring hues, not distinct ones.

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

The djinn appear in the Quran and pre-Islamic Arabian belief as beings of fire, and the tales of the Thousand and One Nights gave the world the genie of the lamp; the word genie itself comes from jinn.

Best Design Use Cases

Use the lamp bronze for the metal, wish gold for the glow, ember red for the fire, and deep brown for text.

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

Colors That Pair Well With Djinn Lamp

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 Djinn Lamp Without Breaking Accessibility

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

How to Implement the Djinn Lamp Color Scheme

To use this Djinn Lamp 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 {
  /* Djinn Lamp — ihatecolors */
  --color-bg: #8E5C3A;
  --color-accent: #E8C878;
  --color-secondary: #C85C3A;
  --color-text: #2E1406;
}

Web Design Tip

Use #8E5C3A as the page background and #E8C878 for buttons and large UI — they measure 3.46:1, which clears the 3:1 UI threshold but not 4.5:1, so keep small text out of this pair.

Accessibility Note

#2E1406 on #8E5C3A measures 3.07:1 — enough for large text and UI components (3:1) but below the 4.5:1 needed for body copy.

Djinn Lamp Palette — Frequently Asked Questions

What are the hex codes in the Djinn Lamp color palette?

The Djinn Lamp palette contains #8E5C3A, #E8C878, #C85C3A, #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 Djinn Lamp color palette accessible (WCAG)?

Yes. #2E1406 on #E8C878 reaches 10.63: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 Djinn Lamp 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 Djinn Lamp palette create?

Djinn Lamp reads as djinn, lamp, wish. 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 Djinn Lamp color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦