Skip to content
#E8C878
#B8785C
#C8B890
#3A2A06
Background
Decorative / accent
Decorative / accent
Text · AAA

Lisbon Tram Color Palette

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

AAA
WCAG Grade
8.56:1
Contrast Ratio
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%
Decorative / accent
Luminance: 24.4%
184, 120, 92 0%, 35%, 50%, 28% 18°, 39%, 54%
Decorative / accent
Luminance: 48.6%
200, 184, 144 0%, 8%, 28%, 22% 43°, 34%, 67%
Text · AAA
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.07:1 AAA Body text, headings, UI
#C8B890 on #3A2A06
Aa Sample Text
7.07: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.20:1 Fail Decorative use only
#E8C878 on #B8785C
Aa Sample Text
2.20: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.20:1 Fail Decorative use only
#E8C878 on #C8B890
Aa Sample Text
1.20:1 Fail Decorative use only

Palette Details

Lisbon is the city of the yellow trams that climb its seven hills, rattling through narrow streets. Two of the four colors are balanced (34–39%) and the other two are highly saturated (71–81%), with lightness running 13–69%. Body text #3A2A06 on #E8C878 measures 8.56:1 (AAA for normal text); the accent #B8785C measures 2.20:1 against the same background.

Color Harmony: Analogous

The saturated colors span 25° around 37° (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

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.

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

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

an 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.20:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #3A2A06 — 8.56: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, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Lisbon Tram — ihatecolors */
  --color-bg: #E8C878;
  --color-accent: #B8785C;
  --color-secondary: #C8B890;
  --color-text: #3A2A06;
}

Web Design Tip

#B8785C on #E8C878 measures 2.20: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 #3A2A06 on #E8C878 measures 8.56:1, which passes WCAG AAA for normal text.

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. #3A2A06 on #E8C878 reaches 8.56: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 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 ✦