#8E8E7A
#5C5C4A
#C8C8B8
#1E1E14
Background
Primary Accent
Secondary
Body Text

Smog City Color Palette

#8E8E7A · #5C5C4A · #C8C8B8 · #1E1E14

AA
WCAG Grade
5.0:1
Contrast Ratio
880
Saves
2,340
AI Copies
AI Prompt

Use #8E8E7A as the background. Use #5C5C4A as the primary accent. Use #C8C8B8 as secondary. Use #1E1E14 as body text/supporting color. Palette mood: Smog City — smog, city, grey.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Smog City 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: 26.5%
142, 142, 122 0%, 0%, 14%, 44% 60°, 8%, 52%
Primary Accent
Luminance: 10.4%
92, 92, 74 0%, 0%, 20%, 64% 60°, 11%, 33%
Secondary
Luminance: 57.0%
200, 200, 184 0%, 0%, 8%, 22% 60°, 13%, 75%
Body Text
Luminance: 1.3%
30, 30, 20 0%, 0%, 33%, 88% 60°, 20%, 10%

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

#8E8E7A muted yellow
#5C5C4A muted yellow
#C8C8B8 muted yellow
#1E1E14 muted yellow

Smog City 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
#1E1E14 on #C8C8B8
Aa Sample Text
9.92:1 AAA Body text, headings, UI
#C8C8B8 on #1E1E14
Aa Sample Text
9.92:1 AAA Body text, headings, UI
#1E1E14 on #8E8E7A
Aa Sample Text
5.04:1 AA Body text, UI
#8E8E7A on #1E1E14
Aa Sample Text
5.04:1 AA Body text, UI
#C8C8B8 on #5C5C4A
Aa Sample Text
4.02:1 Fail Large headings, UI components
#5C5C4A on #C8C8B8
Aa Sample Text
4.02:1 Fail Large headings, UI components
#1E1E14 on #5C5C4A
Aa Sample Text
2.47:1 Fail Decorative use only
#5C5C4A on #1E1E14
Aa Sample Text
2.47:1 Fail Decorative use only
#5C5C4A on #8E8E7A
Aa Sample Text
2.04:1 Fail Decorative use only
#8E8E7A on #5C5C4A
Aa Sample Text
2.04:1 Fail Decorative use only
#C8C8B8 on #8E8E7A
Aa Sample Text
1.97:1 Fail Decorative use only
#8E8E7A on #C8C8B8
Aa Sample Text
1.97:1 Fail Decorative use only

Smog City Color Psychology & Meaning

Smog is the grey-yellow blanket that settles over cities, dimming the skyline, and this palette is smog grey with city shadow. It feels heavy and urgent, the color of air you can see, and a reminder of why clean air matters.

Color Harmony: Analogous Scheme

The Smog City 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

The word smog was coined in 1905 for the smoke-fog of London, and the Great Smog of 1952 killed thousands and led to the Clean Air Act; smog remains a challenge for megacities from Beijing to Mexico City.

Best Design Use Cases

Use the smog grey for the sky, city shadow for the buildings, pale grey for the highlights, and the darkest for text.

Industries This Palette Suits

Climate, public health, urbanism, environmental policy.

Colors That Pair Well With Smog City

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

yellow-green

30° beside #5C5C4A — 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 Smog City Without Breaking Accessibility

  • Avoid #5C5C4A for small UI elements on #8E8E7A — at 2.0:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #1E1E14 — 5.0:1 against #8E8E7A passes WCAG AA (AA) for long-form reading.
  • Don't use #C8C8B8 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Smog City Color Scheme

To use this Smog City 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 #8E8E7A for the main background and #5C5C4A for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #1E1E14 and #8E8E7A is 5.04:1 (AA). Ensure your body text remains legible.

Smog City Palette — Frequently Asked Questions

What are the hex codes in the Smog City color palette?

The Smog City palette contains #8E8E7A, #5C5C4A, #C8C8B8, #1E1E14. 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 Smog City color palette accessible (WCAG)?

Yes for its strongest pairings: #1E1E14 on #C8C8B8 reaches 9.9: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 Smog City palette?

Beyond its own four colors, #4F4F63, #545D4C, #151514 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 Smog City palette create?

Smog City reads as smog, city, grey. Muted yellow drives the personality, grounded by muted yellow — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Smog City color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content