Skip to content
#3E4A48
#5A6A66
#283430
#8E9A94
Background
Decorative / accent
Decorative / accent
Large text / UI

Moonlit Marsh Color Palette

#3E4A48 · #5A6A66 · #283430 · #8E9A94

Fail
WCAG Grade
3.16:1
Contrast Ratio
AI Prompt

Use #3E4A48 as the background. Use #5A6A66 as the primary accent. Use #283430 as secondary. Use #8E9A94 as body text/supporting color. Palette mood: Moonlit Marsh — moody, ocean, night, forest.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Moonlit Marsh 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: 6.4%
62, 74, 72 16%, 0%, 3%, 71% 170°, 9%, 27%
Decorative / accent
Luminance: 13.4%
90, 106, 102 15%, 0%, 4%, 58% 165°, 8%, 38%
Decorative / accent
Luminance: 3.1%
40, 52, 48 23%, 0%, 8%, 80% 160°, 13%, 18%
Large text / UI
Luminance: 31.0%
142, 154, 148 8%, 0%, 4%, 40% 150°, 6%, 58%

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

#3E4A48 muted teal
#5A6A66 muted teal
#283430 muted teal
#8E9A94 neutral gray

Moonlit Marsh 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
#8E9A94 on #283430
Aa Sample Text
4.43:1 Fail Large headings, UI components
#283430 on #8E9A94
Aa Sample Text
4.43:1 Fail Large headings, UI components
#8E9A94 on #3E4A48
Aa Sample Text
3.16:1 Fail Large headings, UI components
#3E4A48 on #8E9A94
Aa Sample Text
3.16:1 Fail Large headings, UI components
#283430 on #5A6A66
Aa Sample Text
2.27:1 Fail Decorative use only
#5A6A66 on #283430
Aa Sample Text
2.27:1 Fail Decorative use only
#8E9A94 on #5A6A66
Aa Sample Text
1.95:1 Fail Decorative use only
#5A6A66 on #8E9A94
Aa Sample Text
1.95:1 Fail Decorative use only
#5A6A66 on #3E4A48
Aa Sample Text
1.61:1 Fail Decorative use only
#3E4A48 on #5A6A66
Aa Sample Text
1.61:1 Fail Decorative use only
#283430 on #3E4A48
Aa Sample Text
1.40:1 Fail Decorative use only
#3E4A48 on #283430
Aa Sample Text
1.40:1 Fail Decorative use only

Palette Details

A marsh under moonlight loses its green entirely and becomes a field of silver-grey water between dark reeds. Three of the four colors are muted (8–13%) and the other is near-neutral (6%), with lightness running 18–58%. Body text #8E9A94 on #3E4A48 measures 3.16:1 (the 3:1 large-text threshold only); the accent #5A6A66 measures 1.61:1 against the same background.

Color Harmony: No Hue Relationship

All 4 colors are near-neutral — every one has a saturation below 15%, so there is no hue spacing to measure.

Hue Wheel

Near-neutral palettes carry hierarchy entirely through lightness; check the contrast matrix before relying on hue for emphasis.

History & Design Context

Moonlight is reflected sunlight with a reddish cast removed by the eye's low-light response, which is why night scenes appear blue-grey regardless of the actual surface colours.

Best Design Use Cases

Use the marsh green-grey for large surfaces, moonlit water for links and buttons, reed dark for fine details, and mist light for text.

Measured best pair: #8E9A94 on #283430 at 4.43:1 (Fail). No pair reaches 4.5:1, so use this pair for large text and UI only; this palette has no body-safe text pair.

Colors That Pair Well With Moonlit Marsh

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.

rose-red

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

cyan-blue

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

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Moonlit Marsh Without Breaking Accessibility

  • Avoid #5A6A66 for small UI elements on #3E4A48 — at 1.61:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #8E9A94 on #3E4A48 — 3.16:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #283430 carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #5A6A66.

How to Implement the Moonlit Marsh Color Scheme

To use this Moonlit Marsh 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 {
  /* Moonlit Marsh — ihatecolors */
  --color-bg: #3E4A48;
  --color-accent: #5A6A66;
  --color-secondary: #283430;
  --color-text: #8E9A94;
}

Web Design Tip

#5A6A66 on #3E4A48 measures 1.61: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

#8E9A94 on #3E4A48 measures 3.16:1 — enough for large text and UI components (3:1) but below the 4.5:1 needed for body copy.

Moonlit Marsh Palette — Frequently Asked Questions

What are the hex codes in the Moonlit Marsh color palette?

The Moonlit Marsh palette contains #3E4A48, #5A6A66, #283430, #8E9A94. 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 Moonlit Marsh color palette accessible (WCAG)?

For large text and UI components only. #8E9A94 on #283430 reaches 4.43:1, which clears the 3:1 threshold for large text and UI but not the 4.5:1 needed for body copy. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Moonlit Marsh palette?

Beyond its own four colors, #69595D, #57666B, #ECEEEE 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 Moonlit Marsh palette create?

Moonlit Marsh reads as moody, ocean, night. Muted teal drives the personality, grounded by muted teal — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Moonlit Marsh color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦