# Beige Color Code: #F5F5DC Hex, RGB & Palettes

The CSS beige reference is #F5F5DC, rgb(245, 245, 220), or hsl(60, 55.56%, 91.18%). Brand shades may differ. HEX and RGB encode the same sRGB reference; HSL is rounded to two decimals. These are screen values, not a CMYK print specification.

## Tints and shades

Illustrative mixes with white or black in encoded sRGB channels, not a perceptually uniform scale.

| Shade | HEX | RGB | HSL | Black text contrast | White text contrast |
| --- | --- | --- | --- | --- | --- |
| Tint 80% | #FDFDF8 | rgb(253, 253, 248) | hsl(60, 55.56%, 98.24%) | 20.58:1 | 1.02:1 |
| Tint 40% | #F9F9EA | rgb(249, 249, 234) | hsl(60, 55.56%, 94.71%) | 19.77:1 | 1.06:1 |
| Reference | #F5F5DC | rgb(245, 245, 220) | hsl(60, 55.56%, 91.18%) | 18.98:1 | 1.11:1 |
| Shade 25% | #B8B8A5 | rgb(184, 184, 165) | hsl(60, 11.8%, 68.43%) | 10.44:1 | 2.01:1 |
| Shade 50% | #7B7B6E | rgb(123, 123, 110) | hsl(60, 5.58%, 45.69%) | 4.90:1 | 4.29:1 |

## Text contrast

AA ordinary text requires at least 4.5:1; large text requires at least 3:1. Large text is at least 18pt, or 14pt bold. Use unrounded ratios for decisions. Color pairs alone cannot certify accessibility; review criteria, states, context, and exceptions.

Beige is a defined CSS value, but cream, ivory, and beige are not interchangeable codes. Preserve the exact background token across design and implementation.

## How to use beige in product design

Beige can replace a stark white canvas with a warmer neutral. Check product imagery and data colors against it because a warm background changes the surrounding visual relationship.

### A UI example to try

Use beige for a reading view with dark body text and a visibly distinct link treatment. Keep form fields identifiable without making the entire page a collection of heavy outlines.

### Work through a real screen

Use beige as the canvas for a content-heavy screen and compare cards, dividers, links, and form fields on top of it. A warm surface can fit an editorial identity, but low-contrast borders or secondary text may disappear against it. Test the real content instead of approving the palette on an empty page.

### Compare nearby colors by purpose

Compare beige with white for clearer surface separation and brown for a related foreground family. Keep the actual contrast calculation in the decision; a warm pairing is not automatically a readable pairing.

1. Choose a foreground, surface, accent, or status role and name a semantic token after its purpose.
2. Test the actual pair, text size, interaction states, and themes.
3. Document the approved value and companion colors. Keep labels and non-color cues for states.

## CSS palette

Illustrative numeric tokens; connect tested pairs to semantic roles.

```css
:root {
  --beige-100: #FDFDF8;
  --beige-300: #F9F9EA;
  --beige-500: #F5F5DC;
  --beige-700: #B8B8A5;
  --beige-900: #7B7B6E;
}
```

## What is the HEX code for beige?

The CSS named color beige is #F5F5DC. Use a documented brand token when you mean another shade.

## Is beige accessible?

A color alone cannot pass or fail accessibility. Evaluate the pair, content size, interaction state, and meaning in the complete interface.

## Related colors

- [brown color codes](https://designproject.io/resources/colors/brown/)

- [white color codes](https://designproject.io/resources/colors/white/)

- [gold color codes](https://designproject.io/resources/colors/gold/)

## Sources and next steps

By The Design Project. UI examples and generated scales are illustrative.

- [MDN CSS named colors](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/named-color)
- [W3C contrast guidance](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
- [UI color palette guide](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Semantic color tokens](https://designproject.io/resources/guides/create-semantic-color-tokens/)
- [Color contrast checker](https://designproject.io/resources/guides/check-color-contrast/)
- [Design glossary](https://designproject.io/resources/glossary/)

Canonical: https://designproject.io/resources/colors/beige/

## Keep learning

- [How to create a UI color palette, step by step](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Product design glossary: 44 terms explained](https://designproject.io/resources/glossary/)
- [How to create semantic color tokens for UI](https://designproject.io/resources/guides/create-semantic-color-tokens/)
