Beige Hex Codes: 25 Shades From Sand to Taupe

Featured graphic for “Beige Hex Codes” showing color swatches and codes

The beige hex code is #F5F5DC, the official CSS color named beige. It is a very pale, slightly yellow neutral, closer to a warm off-white than the sandy beige many people picture.

That gap between the name and the expectation is why this guide covers the whole beige family: the official CSS beiges, light and sandy beiges, tans, and gray-brown taupes. Every shade includes its hex and RGB values, and the palettes show which text colors stay readable on beige.

Beige color codes

FormatValue
HEX#F5F5DC
RGBrgb(245, 245, 220)
HSLhsl(60, 56%, 91%)
CMYK (approx.)0, 0, 10, 4
CSS namebeige

CSS beige has a yellow hue (60°). If you want the warmer, sandier beige used in fashion and interiors, look at Wheat, Tan or the sand shades below.

25 shades of beige

Every shade here carries dark text well (contrast with #111111 shown or noted). Only the darkest taupe is dark enough for white text.

Official CSS beiges and tans

NameHexRGB
Beige#F5F5DC245, 245, 220
BlanchedAlmond#FFEBCD255, 235, 205
Bisque#FFE4C4255, 228, 196
Moccasin#FFE4B5255, 228, 181
NavajoWhite#FFDEAD255, 222, 173
Wheat#F5DEB3245, 222, 179
BurlyWood#DEB887222, 184, 135
Tan#D2B48C210, 180, 140

Light beiges

HexRGBDark text contrast
#F1E9DA241, 233, 21815.65:1
#EBE6D6235, 230, 21415.13:1
#EADFCD234, 223, 20514.33:1
#E4D9CD228, 217, 20513.58:1
#E3D6C4227, 214, 19613.20:1

Sand and tan

HexRGBDark text contrast
#D9C3A6217, 195, 16611.07:1
#D8BE97216, 190, 15110.55:1
#D0B595208, 181, 1499.64:1
#C5A687197, 166, 1358.25:1
#BB9777187, 151, 1197.02:1
#AF8F6A175, 143, 1066.26:1

Taupe and greige

HexRGBText contrast
#C3C1BB195, 193, 187Dark 10.49:1
#BCB2A9188, 178, 169Dark 9.06:1
#ADA79F173, 167, 159Dark 7.92:1
#A3998F163, 153, 143Dark 6.75:1
#8F7D70143, 125, 112Dark 4.80:1
#7E6F67126, 111, 103White 4.82:1

“Greige” is a blend of gray and beige; the lightest taupes above fit that description.

Beige vs tan vs taupe

BeigeTanTaupe
Typical lookPale, warm neutralLight brown, sandyGray-brown
CSS example#F5F5DC#D2B48CNo CSS name
UndertoneYellowOrange-brownGray
Best forBackgroundsPanels, accentsSophisticated neutrals, text-friendly bases

For true whites and creams, such as ivory, eggshell and linen, see our off-white guide; this article covers the tan family instead.

Beige palettes for websites

Beige makes a warm, calm website background. These palettes were checked for text contrast.

1. Warm minimal

RoleHex
Background#F5F5DC
Panels#EADFCD
Text#3E2F1C (dark brown)

Dark brown on beige scores 11.66:1.

2. Earthy natural

RoleHex
Background#F5F5DC
Accent (icons, borders)#6B8E23 (olive)
Text, buttons#5C4033 (cocoa brown)

Cocoa text scores 8.49:1. The olive accent scores only 3.44:1, so use it for icons and large headings, not body text.

3. Coastal neutral

RoleHex
Background#F1E9DA
Cards#D9C3A6
Text#2F4F4F (dark slate gray)

Dark slate gray scores 7.40:1 on #F1E9DA and 5.23:1 on the #D9C3A6 cards, so text stays readable on both.

4. Sand and copper

RoleHex
Background#F5F5DC
Panels#D2B48C (tan)
Links, buttons#8B5A2B (copper brown)

Copper on beige scores 5.28:1. On tan panels, use dark brown #3E2F1C text (6.54:1) instead.

Text on beige

Beige is light, so use dark text. White text fails on every beige in this guide except the darkest taupe; even Tan (#D2B48C) scores only 1.97:1 with white. Warm dark browns and slate grays look more natural on beige than pure black.

Beige pairs naturally with grays, too. Our gray combinations guide includes greige-friendly options.

Common mistakes with beige

  1. Expecting CSS beige to look sandy. #F5F5DC is very pale and slightly yellow. Fix: use Wheat, Tan or a sand shade for a sandier look.
  2. White text on beige or tan. It fails contrast. Fix: use dark brown, charcoal or slate.
  3. Too many similar neutrals. Three beiges that are almost the same look like a mistake. Fix: use one background beige and one clearly darker panel shade.
  4. Mid-tone accents for body text. Olive and copper can look readable but sit near the limit. Fix: check every text pair.
  5. Beige that turns yellow on screens. Some displays exaggerate yellow. Fix: test on more than one device, or choose a grayer beige.

FAQ

What is the hex code for beige?

The CSS color beige is #F5F5DC, which is rgb(245, 245, 220).

What is the hex code for tan?

The CSS color tan is #D2B48C, which is rgb(210, 180, 140).

Is beige warm or cool?

Beige is generally warm because of its yellow or orange undertone. Taupe and greige are cooler.

What text color works on beige?

Dark browns, charcoal and slate gray. Dark brown #3E2F1C scores 11.66:1 on #F5F5DC.

Is beige the same as cream?

No. Cream is lighter and closer to white; beige is a little darker and warmer. Creams are covered in our off-white guide.

Choose your beige

Use #F5F5DC for the official beige, Wheat or Tan for a sandier feel, or a taupe for a modern neutral. Keep text dark and warm, and check contrast before you publish.

Scroll to Top