Beige hex code

#F5F5DC

The hex code for beige is #F5F5DC, which is RGB 245, 245, 220. It is the CSS color beige. It is a very pale, slightly yellow off-white, lighter than the sandy beige many people picture.

0

Click a value to copy it. Move the slider to try a lighter or darker version; the code samples further down follow it.

Runs in your browser. Nothing you type is uploaded.

Beige color codes

These are all the same beige, written for different tools. Web and app design use HEX, RGB and HSL, print uses CMYK, and CIE Lab and LCH describe the color the way the eye sees it. Click any code in the tool above to copy it.

FormatValue
HEX#F5F5DC
RGBrgb(245, 245, 220)
HSLhsl(60, 56%, 91%)
HSVhsv(60, 10%, 96%)
CMYK0, 0, 10, 4
CIE Lab95.9, -4.2, 12.0
LCH95.9, 12.7, 109.2
Decimal16,119,260
Binary11110101 11110101 11011100
CSS color namebeige
Beige swatch, hex #F5F5DC, with lighter and darker shades

To turn any other code into these values, paste it into the hex to RGB converter.

Which beige hex code should you use?

Different color sites give different codes for beige. These are the three you are most likely to run into, where each one comes from and how they differ.

#F5F5DCCSS color name beige, used by Wikipedia, HTMLColorCodes and CanvaVery pale, close to cream.
#EDE8D0Figma's color libraryA little darker and warmer.
#D2B48CCSS color name tanThe closest CSS name to a sandy, darker beige.

The CSS keyword is what most sites copy, so #F5F5DC is the standard answer. It surprises people, though. On a screen it reads as an off-white with a hint of yellow, and placed next to white paper it can look almost the same. Figma's #EDE8D0 is a step darker and does not mention the CSS keyword at all.

If you want the beige of a trench coat or a sofa, #F5F5DC will look too pale. Go darker, toward #E8DCC4, or use the CSS name tan, #D2B48C.

Measured as CIE76 color distance from #F5F5DC, #EDE8D0 is 4.6 and #D2B48C is 26.0. A distance under about 2.3 is hard to see, so all of these are visibly different from the main code. Codes checked on November 10, 2026.

Beige vs cream

Both are pale, warm off-whites, and the codes are close. Cream #FFFDD0 is brighter and more yellow, with red and green at full strength. Beige #F5F5DC is slightly duller and grayer, so it reads as more neutral.

In practice, cream suits soft, warm designs and beige suits calm, neutral ones. Next to each other, cream looks more yellow and beige looks more gray.

Shades of beige

Pale browns and off-whites close to beige. The ones marked CSS work as color names in any stylesheet.

Beige#F5F5DCCSS beige
Cream#FFFDD0Wikipedia
Cornsilk#FFF8DCCSS cornsilk
Old lace#FDF5E6CSS oldlace
Linen#FAF0E6CSS linen
Antique white#FAEBD7CSS antiquewhite
Wheat#F5DEB3CSS wheat
Burlywood#DEB887CSS burlywood
Tan#D2B48CCSS tan
Light brown#C4A484HTMLColorCodes

Light beige and dark beige

Each step mixes beige with 10 percent more white (tints) or black (shades), so the hue stays the same. Click a step to copy it.

F5F5DCF6F6E0F7F7E3F8F8E6F9F9EAFAFAEEFBFBF1FCFCF4FDFDF8FEFEFC
#F5F5DCWhite
F5F5DCDCDCC6C4C4B0ACAC9A9393847A7A6E6262584A4A4231312C181816
#F5F5DCBlack

Colors that go with beige

Beige is a neutral, so it works as a background for almost any color. It looks best with earthy greens, deep blues and warm browns.

Sage green#9CAF88Calm and natural, common in bedrooms and wedding designs.
Navy blue#000080A dark, cool contrast that makes beige look crisp.
Brown#964B00Warm and cozy, from the same family.
Teal#008080A bold accent against a quiet base.
Pastel pink#FFD1DCSoft and warm, popular for nurseries.

Matches from the color wheel

ComplementaryThe opposite side of the wheel
#F5F5DC, #DCDCF5
Split complementaryThe two colors beside the opposite
#F5F5DC, #DCE9F5, #E9DCF5
AnalogousNeighbors 30 degrees either side
#F5E9DC, #F5F5DC, #E9F5DC
TriadicThree colors 120 degrees apart
#F5F5DC, #DCF5F5, #F5DCF5

These come from rotating the hue of #F5F5DC (60 degrees) around the color wheel while keeping its saturation and lightness. They fit together in theory, but check them in your design: a wheel match is a starting point, not a rule.

Beige color palettes

Three palettes built around beige, each with a light color for backgrounds and a dark one for text. Click a palette to copy all five codes.

Warm neutralsBeige to dark brown in even steps.
#F5F5DC, #E8DCC4, #D2B48C, #8B6F47, #3E2F1C
Beige and sageA soft green against a pale base.
#FAF8F0, #F5F5DC, #B5C4A1, #7A8B6A, #2E3A2A
Beige and navyPale beige with deep blue for contrast.
#FFFFFF, #F5F5DC, #C9B79C, #1C2E5A, #000080

What colors make beige?

On a screen

On #F5F5DC, red and green are both at 245, 96 percent, and blue is at 220, 86 percent. Lowering only the blue is what makes it warm instead of a light gray. Lower all three evenly and it turns into a sandy beige like #E8DCC4. Lower blue further and it moves toward cream.

With paint

Start with white and add a small amount of brown, or a little yellow with a touch of red. Add the color slowly, since beige is mostly white. A tiny drop of black or blue cools it toward greige.

Is text readable on beige?

WCAG asks for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text, which means 24px, or 19px bold. Black text on #F5F5DC is the readable choice.

PairingContrastNormal textLarge text
White text on beige1.11:1FailsFails
Black text on beige18.98:1PassesPasses

How beige looks with color blindness

Normal vision#F5F5DC
Protanopia#FAF3DBNo red cones
Deuteranopia#FAF4DDNo green cones
Tritanopia#F9F2EENo blue cones
Achromatopsia#F3F3F3No color vision

Beige stays close to itself with every type of color blindness, since it is nearly white. Only its slight yellow tint shifts. These are approximate simulations using the Machado matrices for full color blindness. Color blindness affects about 1 in 12 men and 1 in 200 women, mostly the red-green types, so do not use beige as the only signal for something like an error or a selected state.

Beige in binary

A hex code is three bytes, one each for red, green and blue. Each pair of hex digits is one byte, and each byte is 8 bits. This is how #F5F5DC is stored:

ChannelHexDecimalBinaryBits that are on
RedF524511110101128 + 64 + 32 + 16 + 4 + 1
GreenF524511110101128 + 64 + 32 + 16 + 4 + 1
BlueDC22011011100128 + 64 + 16 + 8 + 4

Joined together that is 111101011111010111011100, a 24-bit number equal to 16,119,260 in decimal. The hex to binary converter does the same for any hex value.

Beige in CSS and code

Copy the version for your stack. The tool above updates these if you change the lightness.

/* CSS */
:root { --beige: #F5F5DC; }
.button { background: var(--beige); color: #1F1D1A; }

<!-- Tailwind -->
<button class="bg-[#F5F5DC] text-[#1F1D1A]">Button</button>

// SwiftUI
Color(red: 0.961, green: 0.961, blue: 0.863)

<!-- Android colors.xml -->
<color name="beige">#F5F5DC</color>

# Python
beige = (245, 245, 220)

Beige color meaning

Beige is a neutral that suggests calm, simplicity and comfort. It is a standard choice for walls, furniture and clothing because it goes with almost everything, though on its own it can look plain.

Where the name comes from

Beige comes from a French word for natural wool that has been neither bleached nor dyed. According to Wikipedia, its first recorded use as a color name in English was in 1887.

Frequently asked questions

What is the hex code for beige?

The beige hex code is #F5F5DC, RGB 245, 245, 220. It is the CSS color name beige.

What is the RGB code for beige?

RGB 245, 245, 220 for #F5F5DC.

Why does CSS beige look so light?

CSS beige is very close to white, which is why it can look like an off-white on screen. For a darker sandy beige, use something like #E8DCC4 or the CSS name tan.

What colors make beige?

White with a small amount of brown, or white with a little yellow and red. On a screen, it is high red and green with slightly less blue.

Is beige the same as cream?

No. Cream #FFFDD0 is brighter and more yellow. Beige #F5F5DC is slightly grayer and more neutral.

What color text goes on beige?

Dark text. Black on #F5F5DC has a contrast ratio of 18.98 to 1. White on it is 1.11 to 1 and cannot be read.

Scroll to Top