Skip to content

Beige color #F5F5DC

rgb(245, 245, 220) · oklch(96.4% 0.033 107)

Beige (#F5F5DC) is a very light, muted, warm yellow. It mixes 96% red, 96% green and 86% blue, with a perceived lightness of 96.4% in OKLCH. Black text reads best on it (18.97:1 vs 1.10:1). The closest other CSS color is Cornsilk (#FFF8DC). For people with tritanopia it shifts the most, toward #F9F2EE.

Beige color codes

HEX
RGB
HSL
HSV / HSB
OKLCH
CMYK
CSS keyword

Click a value to copy it. Convert any other color with the color converter.

Shades, tints and tones of beige

Shades mix beige with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.

Tints (lighter)

Shades (darker)

Tones (muted)

Beige as a UI color scale (50–950)

An 11-step scale for design systems, with beige placed at step 50. Copy it as a Tailwind v4 theme below.

Colors that go with beige

Harmonies are computed on the OKLCH hue wheel, keeping beige’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.

Complementary

Edit

The base color and the hue directly opposite it. Maximum contrast; use one as the accent.

Analogous

Edit

Neighbors 30° either side on the hue wheel. Calm and cohesive, common in nature.

Triadic

Edit

Three hues spaced 120° apart. Vibrant but balanced; let one dominate.

Split complementary

Edit

The base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.

Tetradic (rectangle)

Edit

Two complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.

Monochromatic

Edit

One hue at different lightness levels. Safe, elegant, and easy to read.

Is beige accessible? Contrast with white and black

Beige text on white

1.10:1

AA fail AA large fail AAA fail

Beige text on black

18.97:1

AA pass AA large pass AAA pass

Check beige against any other color

How beige looks with color blindness

Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.

Protanopia: #faf3db
Red-blind. Reds look dark and brownish; red and green are easily confused.
Deuteranopia: #faf4dd
Green-blind, the most common strong form. Red, green, orange and brown look similar.
Tritanopia: #f9f2ee
Blue-blind and rare. Blue and green are confused, as are yellow and pink.
Achromatopsia: #f3f3f3
Total color blindness, very rare. Only lightness differences are visible.

Colors similar to beige

The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).

ΔE 1.6 Cornsilk
#fff8dc
ΔE 1.8 Old Lace
#fdf5e6
ΔE 1.8 Papaya Whip
#ffefd5
ΔE 2.2 Light Goldenrod Yellow
#fafad2

Use beige in CSS and Tailwind

CSS custom properties

:root {
  --beige: #f5f5dc;
  --beige-rgb: 245 245 220;
}

.text-beige { color: var(--beige); }
.bg-beige { background-color: var(--beige); }

Tailwind v4 theme

@theme {
  --color-beige-50: #f5f5dc;
  --color-beige-100: #edede5;
  --color-beige-200: #dcdcce;
  --color-beige-300: #c2c2b0;
  --color-beige-400: #a3a38e;
  --color-beige-500: #888874;
  --color-beige-600: #707060;
  --color-beige-700: #59594d;
  --color-beige-800: #46463d;
  --color-beige-900: #363630;
  --color-beige-950: #1f1f1c;
}

Make a gradient from beige: open the gradient generator.

Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.

More yellow colors