Palette maker

Sand Color: Hex Code, RGB and Palettes

Sand color is a soft, grayish yellow with the hex code , or rgb(194, 178, 128) in CSS. In HSL it is hsl(45, 35%, 63%), a warm, mid-light tone that sits between yellow, beige and brown.

On this page
  1. What it is
  2. Color codes
  3. Close colors
  4. Shades
  5. Pairings
  6. Web and CSS
  7. Contrast
  8. Real uses
  9. Print
  10. Paint, meaning
  11. FAQ

The palette maker above builds monochrome, analogous, complementary, triadic and split palettes from it, with copyable HEX, RGB and HSL codes. This page covers what the color is like to work with: how it differs from beige and khaki, which colors flatter it, where it fails (text on white), and how it behaves in print.

What Color Is Sand? Look, Feel and a 1627 Origin

Sand looks like dry beach sand in flat daylight: yellow underneath, softened by gray. Its hue angle is 45°, a warm yellow-orange, but the 35% saturation keeps it quiet and dusty instead of sunny. The ISCC-NBS system files it as a grayish yellow, which is a fair plain-English summary.

The name has a long record. Sand was first noted as an English color name in 1627, and its normalized coordinates match ecru, a French word for unbleached linen. There is no standards body that owns the name, so you will see slightly different sand values on different sites. is the one most color lists agree on, and it is the one used on this page.

Sand Color Codes: HEX, RGB, HSL and CMYK

Here are the exact values for the base color, all computed from the hex code.

Format Value
HEX
RGB 194, 178, 128 (76%, 70%, 50%)
HSL 45°, 35%, 63%
HSV 45°, 34%, 76%
CMYK 0%, 8%, 34%, 24%

Read the hex in pairs: C2 is red (194), B2 is green (178), 80 is blue (128). Red leads, green trails by only 16 steps, and blue sits at about half. That gap between green and blue is what makes sand read yellow instead of gray. Modern CSS accepts rgb(194 178 128) and hsl(45 35% 63%) as well as the older comma forms.

Sand colored jersey beside three bars showing the red 194, green 178 and blue 128 channels of #C2B280
Read #C2B280 in pairs: red 194, green 178, blue 128, and blue sits near half.

The CMYK numbers come from the standard formula. A real print profile will give slightly different figures, which matters more than most people expect (see the print section below).

Sand vs Beige, Khaki, Tan and Ecru

Color names are loose, so sand gets mixed up with its neighbors constantly. Side by side, the differences are clear:

  • Beige : far lighter and almost neutral.
  • Khaki : brighter and more lemon.
  • Dark Khaki : greener, closer to olive.
  • Tan : pinker and a little warmer.
  • Camel : deeper and more orange-brown.
  • Desert Sand : lighter, with a peach cast.

Ecru is the one true twin, since it usually carries the same value. If you want a heavier, more golden relative of sand, the dark yellow page shows how far the same warmth can be pushed before it turns mustard.

Which neighbor of sand leans greener and more olive?

Dark Khaki has a higher green channel relative to its red, so it shifts toward olive, while tan and desert sand lean pink.

Sand Color Shades and Tints for Backgrounds and Borders

A single sand is rarely enough for an interface. A usable ladder starts with and for page backgrounds and cards, then and for borders, dividers and hover states. The base sits in the middle as the fill color.

Sand #C2B280 swatch between greener Dark Khaki #BDB76B and pinker, warmer Tan #D2B48C, with hex codes and differences
Sand sits between greener Dark Khaki and pinker Tan, and only ecru shares its exact hex.

Going darker, and work for secondary buttons and icons, while , , and handle text, headings and dark sections. Keep the darker steps brown-leaning. If you darken sand by adding black, it turns muddy olive fast.

Colors That Go With Sand (and the Ones to Avoid)

Sand is a warm neutral, so most deep or cool colors sit well beside it. These are the harmonies the palette maker generates from :

  • Complementary: , a soft periwinkle blue.
  • Analogous: (clay pink) and (pistachio).
  • Triadic: (seafoam) and (soft orchid).
  • Split complementary: and .

In practice, neutrals do the best work. A dark brown gives a tonal, earthy pairing, matte black makes sand look expensive, and a small touch of gold adds a warm metallic accent. Keep the gold sparing, since the two share a similar temperature and can blur together.

Dune and Dusk

Editorial layouts, premium packaging and calm portfolio sites with a navy anchor.

Desert Sage

Wellness brands, botanical packaging and earthy living room schemes.

Coastal Calm

Beach rentals, travel sites and bathrooms that need a soft blue and sand mix.

Terracotta Dune

Ceramics, boutique hotels and autumn fashion boards with warm clay tones.

For cooler or softer moods, ice blue lifts sand and stops it feeling heavy, and rose pink makes it romantic. The brown and pink palette page has more combinations in that direction. What to avoid: other mid-light yellows, which flatten into mud, and neon colors, which make sand look dirty.

Using Sand in Web and UI Design, With CSS

Sand works best as a surface or accent color in a UI, not as a text color. It suits hero backgrounds, cards, badges, and button fills when the label is dark. Pair it with one dark ink and one pale tint, and let the sand ladder from earlier handle everything in between.

A minimal setup looks like this:

:root {
  --sand: #C2B280;
  --sand-light: #F1EDE2;
  --sand-dark: #7E7351;
  --ink: #222222;
}

.button {
  background: var(--sand);
  color: var(--ink);
}

.hero {
  background: linear-gradient(135deg, #F1EDE2, #C2B280);
}

On the other side of the spectrum, sand also looks good in gradients that move toward a cool tone. The pink blue gradient page shows the CSS pattern, and swapping the pink for sand gives a quieter, more natural result.

Is Sand Color Accessible? Real Contrast Ratios

Computed from its relative luminance, gives about 2.1:1 against white and about 10.0:1 against black. WCAG AA asks for 4.5:1 for body text and 3:1 for large text, so white text on sand fails both. Dark ink fares much better: on sand comes out at about 7.6:1, which clears even the stricter AAA target of 7:1.

What is the safest text color to put on a #C2B280 button?

Dark ink on sand gives about 7.6:1, while white on sand is only about 2.1:1.

I hit this on a client dashboard where the primary buttons were sand with white labels. They looked soft in the mockup and unreadable on a laptop in daylight. Switching the labels to a near-black ink fixed it without touching the brand color.

Try this: Set a button to and write its label twice, once in white and once in . Look at both from arm’s length, then check each pair in a contrast checker and compare with 2.1:1 and 7.6:1.

Sand in Interiors, Fashion and Branding

Interiors

Sand is a classic wall and textile color because it reads as a neutral but carries warmth that a gray can’t. It looks best with natural materials such as oak, linen, rattan and unglazed ceramics. Remember that paint looks lighter and creamier on a full wall than on a small chip, and shifts with the light in the room.

Fashion and branding

In clothing, sand sits in the same family as khaki and stone, which makes it easy to wear with navy, olive, white and denim. In branding it signals calm, natural and unfussy, which is why it appears often with skincare, ceramics, outdoor gear and hospitality. Pair it with one confident dark color so it doesn’t look washed out.

Sand as a base, not the hero

Let sand carry the large, calm areas and give accent jobs to deeper colors. It supports other colors better than it competes with them.

Printing Sand: Why CMYK Shifts This Color

Sand is one of those colors that can surprise you in print. Its RGB blend is yellow with a lot of gray, and in CMYK that gray comes from a small amount of magenta plus black, so tiny ink changes make it turn greenish or pinkish. On one packaging job I did, the first proof of a sand background drifted noticeably greener than the screen, and the fix was a press-matched spot color rather than a four-color build.

Uncoated paper makes sand duller and darker, and coated paper keeps it closer to the screen. If the color matters, ask for a physical proof on the final stock and give the printer the hex plus a swatch to match. Treat the CMYK values 0, 8, 34, 24 as a starting point, never a promise.

Mixing Sand in Paint and What the Color Says

Painters usually get sand from yellow ochre, white and a small touch of a warm gray or burnt umber. Start with white, add ochre until it turns creamy yellow, then use the brown in tiny amounts to mute it. If it goes too orange, add a drop of a cool gray or a hint of blue to calm it down.

As for meaning, sand tends to feel calm, dry, natural and grounded, because we link it with beaches, deserts and linen. That is an association, not a rule, and context changes it quickly. Next to navy it feels coastal, next to black it feels refined, and next to clay pink it feels warm and handmade.

Colors close to sand

Sand Color: questions people ask

What is the hex code for sand color?

The usual hex code for sand is #C2B280. In RGB that is 194, 178, 128, and in HSL it is 45°, 35%, 63%. No standards body owns the name, so a few sites list nearby values, but #C2B280 is the most widely used.

Is sand the same as beige?

No. Sand is darker, more saturated and more yellow than beige. A typical CSS beige (#F5F5DC) is very light and almost neutral, while sand is a mid-light grayish yellow.

Is sand a warm or a cool color?

Sand is warm. Its hue sits at 45°, between orange and yellow, but its low saturation makes it a gentle warm neutral rather than a loud one.

What colors go best with sand?

Deep navy, charcoal, dark brown, sage green and soft blue all work well. For a bolder look, try clay pink or seafoam as accents and keep sand as the calm base.

Can I use sand color for text?

Not on a white background. Sand on white is only about 2.1:1, far under the 4.5:1 WCAG AA target for body text. Sand works as text on very dark backgrounds, where it reaches about 10:1 against black.

Keep exploring