#E8C040
#C86A2A
#2A6A8A
#F0E8D8
Background
Primary Accent
Secondary
Body Text

Lisbon Trams Color Palette

#E8C040 · #C86A2A · #2A6A8A · #F0E8D8

Fail
WCAG Grade
1.4:1
Contrast Ratio
1,350
Saves
3,600
AI Copies
AI Prompt

Use #E8C040 as the background. Use #C86A2A as the primary accent. Use #2A6A8A as secondary. Use #F0E8D8 as body text/supporting color. Palette mood: Lisbon Trams — sunny, vintage, warm.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Lisbon Trams 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: 55.2%
232, 192, 64 0%, 17%, 72%, 9% 46°, 79%, 58%
Primary Accent
Luminance: 22.8%
200, 106, 42 0%, 47%, 79%, 22% 24°, 65%, 47%
Secondary
Luminance: 12.6%
42, 106, 138 70%, 23%, 0%, 46% 200°, 53%, 35%
Body Text
Luminance: 81.2%
240, 232, 216 0%, 3%, 10%, 6% 40°, 44%, 89%

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

#E8C040 saturated yellow
#C86A2A saturated orange
#2A6A8A gently saturated cyan-blue
#F0E8D8 gently saturated orange

Lisbon Trams 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
#F0E8D8 on #2A6A8A
Aa Sample Text
4.89:1 AA Body text, UI
#2A6A8A on #F0E8D8
Aa Sample Text
4.89:1 AA Body text, UI
#2A6A8A on #E8C040
Aa Sample Text
3.42:1 Fail Large headings, UI components
#E8C040 on #2A6A8A
Aa Sample Text
3.42:1 Fail Large headings, UI components
#F0E8D8 on #C86A2A
Aa Sample Text
3.11:1 Fail Large headings, UI components
#C86A2A on #F0E8D8
Aa Sample Text
3.11:1 Fail Large headings, UI components
#C86A2A on #E8C040
Aa Sample Text
2.17:1 Fail Decorative use only
#E8C040 on #C86A2A
Aa Sample Text
2.17:1 Fail Decorative use only
#2A6A8A on #C86A2A
Aa Sample Text
1.57:1 Fail Decorative use only
#C86A2A on #2A6A8A
Aa Sample Text
1.57:1 Fail Decorative use only
#F0E8D8 on #E8C040
Aa Sample Text
1.43:1 Fail Decorative use only
#E8C040 on #F0E8D8
Aa Sample Text
1.43:1 Fail Decorative use only

Lisbon Trams Color Psychology & Meaning

Lisbon yellow is the historic tram that climbs the Alfama hills, with the orange of tile roofs and the blue of the Tagus below. The palette is sunny and slightly worn, the color of a city built on seven hills facing the Atlantic.

Color Harmony: Complementary Scheme

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

Hue Wheel

A complementary palette is often preferred by professional designers because it provides maximum contrast and energy by using opposite colors.

History & Design Context

The yellow Remodelado trams have run since the early twentieth century and survived the eras of bus and car. Remodelado 28, the most famous line, became a moving postcard that draws riders from around the world.

Best Design Use Cases

Use the tram yellow for hero surfaces and brand warmth, the roof orange for CTAs, and the river blue for interactive elements. The cream carries body text and softens the palette.

Industries This Palette Suits

Travel, food and wine, music, ceramics, heritage transport, hospitality.

Colors That Pair Well With Lisbon Trams

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 #C86A2A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

yellow

30° beside #C86A2A — 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 Trams Without Breaking Accessibility

  • Avoid #C86A2A for small UI elements on #E8C040 — at 2.2:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #F0E8D8 on #E8C040 — 1.4:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #2A6A8A carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #C86A2A.

How to Implement the Lisbon Trams Color Scheme

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

Accessibility Note

The contrast ratio between #F0E8D8 and #E8C040 is 1.43:1 (Fail). Ensure your body text remains legible.

Lisbon Trams Palette — Frequently Asked Questions

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

The Lisbon Trams palette contains #E8C040, #C86A2A, #2A6A8A, #F0E8D8. 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 Trams color palette accessible (WCAG)?

Yes for its strongest pairings: #F0E8D8 on #2A6A8A reaches 4.9:1 (AA). 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 Trams palette?

Beyond its own four colors, #2A87C6, #BAAD36, #181710 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 Trams palette create?

Lisbon Trams reads as sunny, vintage, warm. Saturated orange drives the personality, grounded by saturated yellow — a combination that works best when the light base gets most of the canvas.

Can I use the Lisbon Trams color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content