Beige Color Code (#f5f5dc)

Beige is #f5f5dc in hex and rgb(245, 245, 220) — a very light yellow. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Beige
#f5f5dc
CSS namebeige
Hex#f5f5dc
RGBrgb(245, 245, 220)
HSLhsl(60 56% 91%)
HWBhwb(60 86% 4%)
CMYK0%, 0%, 10%, 4%

Tints and shades

Color harmonies

About Beige

Beige (beige) is a very light, moderately saturated yellow with the hex code #f5f5dc, or rgb(245, 245, 220). In HSL it sits at a hue of 60°, 56% saturation and 91% lightness. It is one of the 148 named colors every browser understands, so you can write color: beige; instead of the hex value.

Using Beige for text and backgrounds

PairingContrast ratioWCAG
Beige text on white1.11 : 1fails
Beige text on black18.98 : 1AAA

On a beige background, use black text (18.98 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: beige;               /* or #f5f5dc */
  background-color: #f5f5dc;
  border: 1px solid rgb(245 245 220 / 50%);
}

Similar named colors

Corn Silk (#fff8dc), Antique White (#faebd7), Light Goldenrod Yellow (#fafad2), Linen (#faf0e6), Old Lace (#fdf5e6), Papaya Whip (#ffefd5).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for beige?
#f5f5dc — that is rgb(245, 245, 220) and hsl(60, 56%, 91%). In CSS you can also just write beige.
Is beige text readable on white?
Its contrast ratio on white is 1.11 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with beige?
Its complementary color is #dbdbf5; analogous colors #f5e8db and #e8f5db sit next to it on the color wheel.