Beige
Beige is a very light, rich color from the yellow family. Hex code #F5F5DC.
Color codes
- CSS name
beige - HEX
#F5F5DC - RGB
rgb(245 245 220) - HSL
hsl(60 56% 91%) - HSB / HSV
hsb(60, 10%, 96%) - OKLCH
oklch(96.4% 0.033 107) - CMYK
cmyk(0%, 0%, 10%, 4%)
White text
1.10:1 · fails WCAG
Black text
18.97:1 · passes WCAG AAA
Shades
Complementary
Analogous
Triadic
About this color
Beige in CSS and design
Beige is a very light, rich color from the yellow family. Beige is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: beige;
color: #F5F5DC;
color: rgb(245 245 220);
color: hsl(60 56% 91%);For text on beige, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for beige?
#F5F5DC. In CSS you can also use the keyword beige, which works in every browser.
What is beige in RGB and HSL?
In RGB it is rgb(245 245 220), in HSL hsl(60 56% 91%). For print, cmyk(0%, 0%, 10%, 4%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on beige?
Black text works better: it has a contrast ratio of 18.97:1 and passes WCAG AAA. White text reaches 1.10:1.
Which colors go with beige?
Its complementary color is #F2F1FF, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #FFF1DE and #E9F9E3. The palette generator builds more combinations.