beige — #F5F5DC
#F5F5DC
rgb(245, 245, 220) · hsl(60, 56%, 91%) · CSS keyword beige
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| beige on white | 1.11:1 | — | — |
| beige on black | 18.98:1 | AA | AA |
As a background, beige takes black text: 18.98:1 against 1.11:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: beige;
color: #f5f5dc;
color: rgb(245 245 220);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to beige
- oldlace — #FDF5E6
- lightgoldenrodyellow — #FAFAD2
- linen — #FAF0E6
- cornsilk — #FFF8DC
- papayawhip — #FFEFD5
- seashell — #FFF5EE
Frequently asked questions
What is the hex code for beige?
The hex code for beige is #F5F5DC — RGB 245, 245, 220.
Can I use beige for text?
Not on a white background. beige reaches only 1.11:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on beige be black or white?
Black — 18.98:1 against 1.11:1 the other way.
Other named colours
- bisque — #FFE4C4
- black — #000000
- blanchedalmond — #FFEBCD
- blue — #0000FF
- blueviolet — #8A2BE2
- brown — #A52A2A
- burlywood — #DEB887
- cadetblue — #5F9EA0
- chartreuse — #7FFF00
- chocolate — #D2691E
- coral — #FF7F50
- cornflowerblue — #6495ED
#F5F5DC in full — tints, shades and harmonies · All named colours · Colour reference