100% free no uploads no sign-up

beige color code

The hex code for beige is #F5F5DC, which is rgb(245, 245, 220) in RGB and cmyk(0%, 0%, 10%, 4%) in CMYK. It's a very light, moderately saturated yellow. It is a built-in CSS colour, so you can also write it as “beige”.

#F5F5DCbeige
White text: 1.10:1 ✗Black text: 18.97:1 ✓ AANearest name: beige

Move the sliders to find a lighter, darker or softer beige; the codes update as you go.

Beige colour codes

HEX#F5F5DC
RGBrgb(245, 245, 220)
HSLhsl(60, 56%, 91%)
HSV / HSBhsv(60, 10%, 96%)
CMYKcmyk(0%, 0%, 10%, 4%)
Decimal16119260
CSS keywordbeige

About beige

Beige sits at a hue of 60° on the colour wheel, with 56% saturation and 91% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

Beige is the French word for natural, undyed wool.

For text, black reads better on beige. Beige as text on a white background has a contrast ratio of 1.1:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 18.97:1, which passes AA for body text.

Tints and shades of beige

Tints mix beige with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#FEFEFC#FDFDF8#FCFCF5#FBFBF1#FAFAEE#F9F9EA#F8F8E7#F7F7E3#F6F6E0
beige #F5F5DC
#DDDDC6#C4C4B0#ACAC9A#939384#7B7B6E#626258#4A4A42#31312C#191916

Colours that go with beige

Complementary — opposite on the colour wheel: maximum contrast

#F5F5DC#DCDCF5

Analogous — neighbours 30° either side: calm and natural

#F5E9DC#F5F5DC#E9F5DC

Triadic — three hues 120° apart: lively but balanced

#F5F5DC#DCF5F5#F5DCF5

Split complementary — the two neighbours of the complement: contrast with less tension

#F5F5DC#DCE9F5#E9DCF5

Tetradic — four hues 90° apart: rich, use one as the main colour

#F5F5DC#DCF5E9#DCDCF5#F5DCE9

Beige text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
beige on white1.1:1failfailfail
beige on black18.97:1passpasspass

Check beige against any other colour in the contrast checker.

How beige looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #F5F5DCprotanopia #FAF3DBdeuteranopia #FAF4DDtritanopia #F9F2EE

Use beige in code

.beige {
  color: beige;
  background-color: #f5f5dc;
  border-color: rgb(245, 245, 220);
}

Frequently asked questions

What is the hex code for beige?

Beige is #F5F5DC (lowercase #f5f5dc). It's the official value of the CSS keyword “beige”.

What is beige in RGB, HSL and CMYK?

RGB: rgb(245, 245, 220). HSL: hsl(60, 56%, 91%). CMYK: cmyk(0%, 0%, 10%, 4%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with beige?

Its complementary colour is #DCDCF5 (close to lavender), which gives the strongest contrast. For a calmer look, use the analogous colours #F5E9DC and #E9F5DC, or the triadic pair #DCF5F5 and #F5DCF5. Tints and shades of beige itself always work together.

Is beige a warm or cool colour?

Beige has a hue of 60°, which makes it warm.

Should I use black or white text on beige?

Black. Black text on beige has a contrast ratio of 18.97:1 and white text has 1.1:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use beige in CSS?

Write color: beige; or color: #f5f5dc; — both give the same colour. Named colours work in every browser.

Colours similar to beige