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
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is beige accessible? Contrast with white and black
1.10:1
AA fail AA large fail AAA fail
18.97:1
AA pass AA large pass AAA pass
- As a background, beige works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
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.
#faf3db Red-blind. Reds look dark and brownish; red and green are easily confused.
#faf4dd Green-blind, the most common strong form. Red, green, orange and brown look similar.
#f9f2ee Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#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).
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.