Lunar Mare Color Palette
#D8D8D6 · #8C8C8A · #4A4A49 · #0F0F0F
Use #D8D8D6 as the background. Use #8C8C8A as the primary accent. Use #4A4A49 as secondary. Use #0F0F0F as body text/supporting color. Palette mood: Lunar Mare — night, moody, cool, mono, royal.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Lunar Mare 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: 68.6% | 216, 216, 214 | 0%, 0%, 1%, 15% | 60°, 2%, 84% | ||
| Decorative / accent Luminance: 26.2% | 140, 140, 138 | 0%, 0%, 1%, 45% | 60°, 1%, 55% | ||
| Text · AA Luminance: 6.8% | 74, 74, 73 | 0%, 0%, 1%, 71% | 60°, 1%, 29% | ||
| Text · AAA Luminance: 0.5% | 15, 15, 15 | 0%, 0%, 0%, 94% | 0°, 0%, 6% |
Lunar Mare 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 Lunar Mare palette — click any swatch to copy its hex.
Lunar Mare 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 |
|---|---|---|---|---|
| #0F0F0F on #D8D8D6 |
Aa Sample Text
| 13.43:1 | AAA | Body text, headings, UI |
| #D8D8D6 on #0F0F0F |
Aa Sample Text
| 13.43:1 | AAA | Body text, headings, UI |
| #4A4A49 on #D8D8D6 |
Aa Sample Text
| 6.21:1 | AA | Body text, UI |
| #D8D8D6 on #4A4A49 |
Aa Sample Text
| 6.21:1 | AA | Body text, UI |
| #0F0F0F on #8C8C8A |
Aa Sample Text
| 5.68:1 | AA | Body text, UI |
| #8C8C8A on #0F0F0F |
Aa Sample Text
| 5.68:1 | AA | Body text, UI |
| #4A4A49 on #8C8C8A |
Aa Sample Text
| 2.63:1 | Fail | Decorative use only |
| #8C8C8A on #4A4A49 |
Aa Sample Text
| 2.63:1 | Fail | Decorative use only |
| #8C8C8A on #D8D8D6 |
Aa Sample Text
| 2.36:1 | Fail | Decorative use only |
| #D8D8D6 on #8C8C8A |
Aa Sample Text
| 2.36:1 | Fail | Decorative use only |
| #0F0F0F on #4A4A49 |
Aa Sample Text
| 2.16:1 | Fail | Decorative use only |
| #4A4A49 on #0F0F0F |
Aa Sample Text
| 2.16:1 | Fail | Decorative use only |
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.
Near-neutral palettes carry hierarchy entirely through lightness; check the contrast matrix before relying on hue for emphasis.
History & Design Context
Best Design Use Cases
Measured best pair: #0F0F0F on #D8D8D6 at 13.43:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Lunar Mare
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.
directly opposite #8C8C8A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #8C8C8A — a calm secondary that extends the palette without adding tension
an ink-black carrying the palette's own hue — perfect for surfaces and dividers
Using Lunar Mare Without Breaking Accessibility
- Avoid #8C8C8A for small UI elements on #D8D8D6 — at 2.36:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #0F0F0F — 13.43:1 against #D8D8D6 passes WCAG AA (AAA) for long-form reading.
- Let #4A4A49 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #8C8C8A.
How to Implement the Lunar Mare Color Scheme
To use this Lunar Mare 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 {
/* Lunar Mare — ihatecolors */
--color-bg: #D8D8D6;
--color-accent: #8C8C8A;
--color-secondary: #4A4A49;
--color-text: #0F0F0F;
} Web Design Tip
#8C8C8A on #D8D8D6 measures 2.36: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 #0F0F0F on #D8D8D6 measures 13.43:1, which passes WCAG AAA for normal text.
Lunar Mare Palette — Frequently Asked Questions
What are the hex codes in the Lunar Mare color palette?
The Lunar Mare palette contains #D8D8D6, #8C8C8A, #4A4A49, #0F0F0F. 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 Lunar Mare color palette accessible (WCAG)?
Yes. #0F0F0F on #D8D8D6 reaches 13.43: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 Lunar Mare palette?
Beyond its own four colors, #8B8B8D, #8C9881, #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 Lunar Mare palette create?
Lunar Mare reads as night, moody, cool. Neutral gray drives the personality, grounded by neutral gray — a combination that works best when the very light base gets most of the canvas.
Can I use the Lunar Mare color palette commercially?
Yes. Individual color values can't be copyrighted, so the Lunar Mare 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 Lunar Mare 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 Lunar Mare's exact values, including the tint and shade ramps shown above.