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.
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.
| Format | Value |
|---|---|
| HEX | #F5F5DC |
| RGB | rgb(245, 245, 220) |
| HSL | hsl(60, 56%, 91%) |
| HSV | hsv(60, 10%, 96%) |
| CMYK | 0, 0, 10, 4 |
| CIE Lab | 95.9, -4.2, 12.0 |
| LCH | 95.9, 12.7, 109.2 |
| Decimal | 16,119,260 |
| Binary | 11110101 11110101 11011100 |
| CSS color name | beige |

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.
beige, used by Wikipedia, HTMLColorCodes and CanvaVery pale, close to cream.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.
beigecornsilkoldlacelinenantiquewhitewheatburlywoodtanLight 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.
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.
Matches from the color wheel
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.
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.
| Pairing | Contrast | Normal text | Large text |
|---|---|---|---|
| White text on beige | 1.11:1 | Fails | Fails |
| Black text on beige | 18.98:1 | Passes | Passes |
How beige looks with color blindness
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:
| Channel | Hex | Decimal | Binary | Bits that are on |
|---|---|---|---|---|
| Red | F5 | 245 | 11110101 | 128 + 64 + 32 + 16 + 4 + 1 |
| Green | F5 | 245 | 11110101 | 128 + 64 + 32 + 16 + 4 + 1 |
| Blue | DC | 220 | 11011100 | 128 + 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.