Palette maker

Moon Color: Lunar Color Palette with Hex Codes

Moon color is a pale, warm white, and the best single code for it is (Moon White). The lunar surface runs through grays from down to , and the sky behind it is .

Fresh ideas, made simple

A short line of body text to test how readable these colors are.

Get started

Text contrast

-

    On this page
    1. Real color
    2. Codes
    3. Five shades
    4. Close colors
    5. Blood moon
    6. Web and UI
    7. Contrast
    8. Uses
    9. Printing
    10. Palettes
    11. FAQ

    The strip above holds all five codes, and the live preview shows how any pair works as text on a background. Below you will find the full HEX, RGB, HSL and CMYK values, contrast ratios I calculated, and practical ways to use each shade on screens, in print and in rooms.

    What color is the moon, really?

    The real moon is gray. Its surface is dark rock and dust, and it reflects only about 12 percent of the sunlight that reaches it (NASA lists a geometric albedo of 0.12). We see it as bright white because it sits against a black sky, and our eyes judge brightness by contrast.

    Look closely and you will see two tones: darker plains of volcanic basalt (the maria) and lighter, rougher highlands. That split is why this palette steps down through three grays instead of using a single one.

    Photos shift the picture further. Exposure, haze and camera white balance can push the moon toward cream, silver or pale blue, so there is no official moon color. I treat Moon White as the perceived color and the grays as the physical one.

    Moon color codes: HEX, RGB, HSL and CMYK

    Here are the exact values for every shade in the palette, converted from the hex codes. CSS accepts any of the RGB or HSL forms directly, so you can write hsl(51 65% 90%) instead of the hex if you want to tweak lightness by hand.

    Shade HEX RGB HSL CMYK
    Moon White 246, 241, 213 51°, 65%, 90% 0, 2, 13, 4
    Lunar Gray 201, 201, 201 0°, 0%, 79% 0, 0, 0, 21
    Crater Gray 141, 141, 141 0°, 0%, 55% 0, 0, 0, 45
    Shadow Gray 75, 75, 75 0°, 0%, 29% 0, 0, 0, 71
    Night Sky 27, 32, 48 226°, 28%, 15% 44, 33, 0, 81

    The CMYK numbers are straight mathematical conversions, so treat them as a starting point. A real press result depends on the paper and the printer’s profile.

    The five moon shades and what each one does

    Each color in this set has a job, and keeping to those jobs is what makes the palette feel like moonlight instead of a random gray ramp.

    • Moon White : the glow. Use it for the moon disc, headings on dark backgrounds and highlights.
    • Lunar Gray : a silvery secondary tone for body copy on dark, light borders and soft surfaces.
    • Crater Gray : the mid-tone for icons, captions, placeholders and large interface elements.
    • Shadow Gray : dividers, raised cards on dark, or dark text on Moon White.
    • Night Sky : the base background, a blue-tinted near-black that is softer than pure black.

    The three grays are perfectly neutral (0% saturation), while Moon White leans yellow and Night Sky leans blue. That small temperature difference is what gives the set its glow. If you want to take the blue side further, the night sky color palette goes deeper into blues and blue-blacks.

    Moon white vs cream, ivory and pearl

    Moon White has a hue of 51°, which puts it in the pale yellow family, with 65% saturation at 90% lightness. Next to pure white it looks clearly warm. Ivory is brighter and cleaner, Cream is a more buttery yellow, and Pearl White is almost neutral.

    Pick Moon White when you want an off-white with a faint glow, and Pearl White when you want something that quietly disappears. Push further toward yellow and brown and you end up in khaki territory, which is sandier and more earthy than any moon.

    Moon White at a glance

    Hue 51°, saturation 65%, lightness 90%. It is a pale cream with a lemon tint, not a true white.

    Why the moon looks red, gold or blue

    The moon changes color with the sky and the angle you see it from, and each effect has a design-friendly version.

    What turns the moon red during a total lunar eclipse?

    Earth's atmosphere scatters blue light away and bends the remaining red-orange light onto the moon.

    Blood moon

    During a total lunar eclipse the moon sits in Earth’s shadow and is lit only by sunlight bent through our atmosphere. Blue light scatters away and red-orange light gets through, so the disc turns copper. Eclipse Red for the shadowed side and Blood Moon Copper for the glow give a believable digital version.

    Palette strip of five moon shades from eclipse red to blue haze, each with its name and hex code
    The same moon can read copper, gold, cream or blue depending on the sky and how low it hangs.

    Blue moon

    A blue moon is a calendar term, usually the second full moon in a month, not a color. Real moons rarely look blue, but a cool tint is a popular artistic choice. Blue Moon Haze is a good start, and the pastel blue page has lighter and softer variations.

    Harvest gold

    A low moon shines through more atmosphere, which filters out blue and leaves amber, the effect behind many golden harvest moon photos. Harvest Gold captures it. The same warm shift happens at sunset, so dusk colors make natural companions for a low golden moon.

    Moon colors in web and UI design

    Night Sky as the page background with Moon White for headings and body text is the classic dark-mode pairing. It avoids the glare of pure white on pure black, which can shimmer and tire the eyes in low light. Use Lunar Gray for secondary text and Crater Gray for icons and captions at larger sizes.

    App card mockup in Night Sky with callouts naming each moon color hex and its role in the interface
    Night Sky sets the base, Moon White leads, and the grays handle text, icons and dividers.

    I used this pairing on a bedtime-reading app, where testers found the cream text calmer than the plain white we started with. The fix was a single variable change.

    :root {
      --moon-white: #F6F1D5;
      --lunar-gray: #C9C9C9;
      --crater-gray: #8D8D8D;
      --shadow-gray: #4B4B4B;
      --night-sky: #1B2030;
    }
    body { background: var(--night-sky); color: var(--moon-white); }
    .card { border: 1px solid var(--shadow-gray); }

    Keep Shadow Gray for borders and raised surfaces rather than text, since it sits too close to Night Sky to read. For an accent, a muted navy like the one on the dark navy blue page fits comfortably between the grays and the sky, and gives links and buttons a cool voice.

    Moon color contrast and WCAG ratios

    WCAG 2.x asks for 4.5:1 for normal text and 3:1 for large text and interface components at level AA, and 7:1 for normal text at AAA. I calculated these ratios from the hex values with the WCAG relative luminance formula:

    • Moon White on Night Sky: 14.2:1, passes AA and AAA.
    • Lunar Gray on Night Sky: 9.8:1, passes AAA.
    • Crater Gray on Night Sky: 4.9:1, passes AA for normal text but not AAA.
    • Shadow Gray on Moon White: 7.7:1, passes AAA.
    • Crater Gray on Moon White: 2.9:1, fails, so use it for decoration only.
    • Lunar Gray on Moon White: 1.5:1, fails.

    The rule that falls out of this is simple: light shades go on dark, dark shades go on light, and neighboring grays never carry text. The preview under the title gives a live score for any pair, which is handy when you are testing a variation.

    Which pairing passes WCAG AA for normal body text?

    Crater Gray on Night Sky is about 4.9:1, above the 4.5:1 minimum, while the other two pairs fall at roughly 2.9:1 and 1.5:1.

    Moon colors in branding, interiors, fashion and art

    Brand and packaging

    Night Sky with Moon White is a natural fit for sleep, meditation, astrology, fragrance and evening-hospitality brands, because the pairing reads as quiet and premium without a loud accent. Add one warm accent such as Harvest Gold and keep the grays for hierarchy.

    Rooms and fabrics

    On walls, Moon White reads as a soft warm cream, and in dim rooms it can look more yellow than it does on screen. Test a large sample in the actual light before you commit. Lunar Gray suits trim and textiles, Shadow Gray suits accent pieces, and the soft colors page has more gentle companions.

    Fashion and painting

    In clothing, Lunar Gray and Moon White are easy neutrals beside silver, pearl and navy. For painting, skip tube white for the moon. Mix a touch of yellow into white, save the brightest value for the lit edge, and keep the sky off pure black so the disc can glow.

    Printing moon colors without losing the glow

    On screen, Moon White glows. In print it is mostly paper. The CMYK conversion (0, 2, 13, 4) is a light yellow tint with a trace of magenta and black, so on a bright white stock it can look almost the same as the paper itself. Night Sky converts to 44, 33, 0, 81 and is dominated by black, so it can print flat and a little dull.

    I once approved a stationery proof where the Moon White background vanished on a bright white sheet, and the client assumed we had left the color out. Moving to a naturally cream paper brought the glow back. Ask your printer for a proof, and for the deep blue consider a spot color or a richer build.

    Try this: Print a strip of all five swatches on the paper you will really use, then look at it under a lamp and again in daylight. If Moon White and the paper look identical, switch to a creamier stock or add a little more yellow.

    Moon color palettes you can copy

    These four palettes keep Night Sky as the anchor and swap the supporting colors. Each is five codes you can paste straight into a design tool.

    Silver Crescent

    Cool, quiet dark-mode interfaces, sleep apps and minimal editorial layouts.

    Harvest Moon

    Autumn invitations, cozy packaging and warm evening illustrations with gold accents.

    Eclipse

    Dramatic posters, game art and Halloween graphics built on a copper blood moon.

    Moonlit Water

    Ocean scenes, reflections and calm wellness branding with a blue moon feel.

    Use Silver Crescent as a neutral UI base, Harvest Moon for autumn themes, Eclipse for dramatic artwork and Moonlit Water for reflections and calm scenes.

    Every color in this palette

    Moon Colors: questions people ask

    What is the hex code for moon color?

    The most useful single code is #F6F1D5, a pale warm white. For the grays of the lunar surface, use #C9C9C9, #8D8D8D and #4B4B4B, and use #1B2030 for the night sky around it.

    Is the moon white or gray?

    Physically the moon is gray, because its surface is dark rock and dust that reflects only about 12 percent of sunlight. It looks white or cream to us because it is bright against a dark sky.

    What colors go with moon color?

    Deep blues and blue-blacks are the natural partner, followed by silver grays, soft pastel blues and a single warm gold or copper accent. Keep the grays neutral so the cream moon white stands out.

    Why does the moon look orange or red sometimes?

    When the moon is low, its light crosses more atmosphere, which scatters blue light and leaves amber tones. During a total lunar eclipse, sunlight bent through Earth's atmosphere falls on the moon and turns it copper red.

    What text color works best on a dark moon-themed background?

    Moon White #F6F1D5 on Night Sky #1B2030 gives a contrast ratio of about 14.2:1, which passes WCAG AA and AAA. Lunar Gray #C9C9C9 works for secondary text at about 9.8:1.

    Keep exploring