Skip to content
#8E8E7A
#5C5C4A
#C8C8B8
#1E1E14
Background
Decorative / accent
Decorative / accent
Text · AA

Smog City Color Palette

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

AA
WCAG Grade
5.03:1
Contrast Ratio
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%
Decorative / accent
Luminance: 10.4%
92, 92, 74 0%, 0%, 20%, 64% 60°, 11%, 33%
Decorative / accent
Luminance: 57.0%
200, 200, 184 0%, 0%, 8%, 22% 60°, 13%, 75%
Text · AA
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.91:1 AAA Body text, headings, UI
#C8C8B8 on #1E1E14
Aa Sample Text
9.91:1 AAA Body text, headings, UI
#1E1E14 on #8E8E7A
Aa Sample Text
5.03:1 AA Body text, UI
#8E8E7A on #1E1E14
Aa Sample Text
5.03: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.46:1 Fail Decorative use only
#5C5C4A on #1E1E14
Aa Sample Text
2.46: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.96:1 Fail Decorative use only
#8E8E7A on #C8C8B8
Aa Sample Text
1.96:1 Fail Decorative use only

Palette Details

Smog is the grey-yellow blanket that settles over cities, dimming the skyline. All four colors are muted (8–20%), with lightness running 10–75%. Body text #1E1E14 on #8E8E7A measures 5.03:1 (AA for normal text); the accent #5C5C4A measures 2.04:1 against the same background.

Color Harmony: Single Accent Hue

Only one color carries hue (60°, yellow); the other 3 are near-neutral, so the palette's hierarchy is carried by lightness and contrast rather than by hue.

Hue Wheel

With a single hue, emphasis has to come from contrast and area rather than from hue difference — check the matrix for the specific pair you intend to use.

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.

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

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

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

Option 1: CSS Variables

:root {
  /* Smog City — ihatecolors */
  --color-bg: #8E8E7A;
  --color-accent: #5C5C4A;
  --color-secondary: #C8C8B8;
  --color-text: #1E1E14;
}

Web Design Tip

#5C5C4A on #8E8E7A measures 2.04: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 #1E1E14 on #8E8E7A measures 5.03:1, which passes WCAG AA for normal text but not AAA (7:1).

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. #1E1E14 on #C8C8B8 reaches 9.91: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 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 ✦