CSS color names · Whites

Beige color: hex #f5f5dc, RGB and HSL

Beige is the CSS keyword beige, hex #f5f5dc, rgb(245, 245, 220), hsl(60, 56%, 91%). It is a very light, vivid yellow in the whites family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
beige
Hex
#f5f5dc
RGB
rgb(245, 245, 220)
HSL
hsl(60, 56%, 91%)
On white
1.11:1 — fails AA; use as a fill, not text
On black
18.98:1 — passes AA for body text
.example {
  color: beige;          /* keyword */
  color: #f5f5dc;          /* hex */
  color: rgb(245, 245, 220); /* rgb */
  color: hsl(60, 56%, 91%); /* hsl */
}

What colors go with beige

Each match keeps beige's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside beige as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#dcdcf5

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#dce9f5
#e9dcf5

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#dcf5f5
#f5dcf5

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#f5e9dc
#e9f5dc

Tints and shades of beige

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as beige — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#f7f7e2
#f8f8e8
#fafaee
#fcfcf3
#fdfdf9

Shades (darker)

#e4e4a0
#d3d363
#b5b534
#797922
#3c3c11

A UI color palette built from beige

The eight semantic roles an interface actually uses, derived from beige as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#f5f5dc
secondary
#dce9f5
accent
#e9dcf5
background
#fdfdfc
surface
#f6f6f3
text
#222211
muted
#8c8c59
border
#ebebe0
Dark mode
primary
#f5f5dc
secondary
#dce9f5
accent
#e9dcf5
background
#1a1a0f
surface
#272716
text
#f6f6f3
muted
#b5b597
border
#484829

Using beige in an interface

The near-whites are page backgrounds. A canvas at ivory or alice blue instead of pure white is the difference between a page that feels designed and one that feels blank — and it is exactly what a tinted `background` role does in a semantic palette. Whichever role beige takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Beige?
Beige is #f5f5dc. In CSS the keyword beige, the hex #f5f5dc, rgb(245, 245, 220) and hsl(60, 56%, 91%) all paint the same color.
What colors go with Beige?
Its complement is #dcdcf5, the split-complementary pair is #dce9f5 and #e9dcf5, the triadic partners are #dcf5f5 and #f5dcf5, and the analogous neighbors are #f5e9dc and #e9f5dc. In an interface, use Beige for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Beige on the color wheel?
The opposite (complementary) color is #dcdcf5, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Beige for text?
Beige as text on white has a contrast ratio of 1.11:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 18.98:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More whites

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.