#E8C878
#B8785C
#C8B890
#3A2A06
Background
Primary Accent
Secondary
Body Text

Lisbon Tram Color Palette

#E8C878 · #B8785C · #C8B890 · #3A2A06

AAA
WCAG Grade
8.6:1
Contrast Ratio
1,140
Saves
3,100
AI Copies
AI Prompt

Use #E8C878 as the background. Use #B8785C as the primary accent. Use #C8B890 as secondary. Use #3A2A06 as body text/supporting color. Palette mood: Lisbon Tram — tram, yellow, hills.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Lisbon Tram 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: 59.8%
232, 200, 120 0%, 14%, 48%, 9% 43°, 71%, 69%
Primary Accent
Luminance: 24.4%
184, 120, 92 0%, 35%, 50%, 28% 18°, 39%, 54%
Secondary
Luminance: 48.6%
200, 184, 144 0%, 8%, 28%, 22% 43°, 34%, 67%
Body Text
Luminance: 2.6%
58, 42, 6 0%, 28%, 90%, 77% 42°, 81%, 13%

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

#E8C878 saturated orange
#B8785C gently saturated orange
#C8B890 gently saturated orange
#3A2A06 saturated orange

Lisbon Tram 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
#3A2A06 on #E8C878
Aa Sample Text
8.56:1 AAA Body text, headings, UI
#E8C878 on #3A2A06
Aa Sample Text
8.56:1 AAA Body text, headings, UI
#3A2A06 on #C8B890
Aa Sample Text
7.08:1 AAA Body text, headings, UI
#C8B890 on #3A2A06
Aa Sample Text
7.08:1 AAA Body text, headings, UI
#3A2A06 on #B8785C
Aa Sample Text
3.88:1 Fail Large headings, UI components
#B8785C on #3A2A06
Aa Sample Text
3.88:1 Fail Large headings, UI components
#B8785C on #E8C878
Aa Sample Text
2.21:1 Fail Decorative use only
#E8C878 on #B8785C
Aa Sample Text
2.21:1 Fail Decorative use only
#C8B890 on #B8785C
Aa Sample Text
1.82:1 Fail Decorative use only
#B8785C on #C8B890
Aa Sample Text
1.82:1 Fail Decorative use only
#C8B890 on #E8C878
Aa Sample Text
1.21:1 Fail Decorative use only
#E8C878 on #C8B890
Aa Sample Text
1.21:1 Fail Decorative use only

Lisbon Tram Color Psychology & Meaning

Lisbon is the city of the yellow trams that climb its seven hills, rattling through narrow streets, and this palette is tram yellow with warm stone. It feels nostalgic and sunny, the color of a city that kept its old trams running.

Color Harmony: Analogous Scheme

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

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

History & Design Context

Lisbons electric trams began in 1901, and the iconic yellow Remodelado trams still climb the hills today, with line 28 the most famous; the city was rebuilt after the 1755 earthquake on a grid designed by the Marquis of Pombal.

Best Design Use Cases

Use the tram yellow for hero surfaces, terracotta for roofs and accents, warm stone for facades, and deep brown for text.

Industries This Palette Suits

Tourism, transport, heritage, hospitality.

Colors That Pair Well With Lisbon Tram

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.

cyan-blue

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

yellow

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

tinted neutral

a ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using Lisbon Tram Without Breaking Accessibility

  • Avoid #B8785C for small UI elements on #E8C878 — at 2.2:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #3A2A06 — 8.6:1 against #E8C878 passes WCAG AA (AAA) 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 Lisbon Tram Color Scheme

To use this Lisbon Tram 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 #E8C878 for the main background and #B8785C for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #3A2A06 and #E8C878 is 8.56:1 (AAA). Ensure your body text remains legible.

Lisbon Tram Palette — Frequently Asked Questions

What are the hex codes in the Lisbon Tram color palette?

The Lisbon Tram palette contains #E8C878, #B8785C, #C8B890, #3A2A06. 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 Lisbon Tram color palette accessible (WCAG)?

Yes for its strongest pairings: #3A2A06 on #E8C878 reaches 8.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 Lisbon Tram palette?

Beyond its own four colors, #5C9CB7, #AC9E68, #181611 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 Lisbon Tram palette create?

Lisbon Tram reads as tram, yellow, hills. Gently saturated orange drives the personality, grounded by saturated orange — a combination that works best when the light base gets most of the canvas.

Can I use the Lisbon Tram color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content