wheat — #F5DEB3
#F5DEB3
rgb(245, 222, 179) · hsl(39, 77%, 83%) · CSS keyword wheat
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| wheat on white | 1.31:1 | — | — |
| wheat on black | 15.98:1 | AA | AA |
As a background, wheat takes black text: 15.98:1 against 1.31: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: wheat;
color: #f5deb3;
color: rgb(245 222 179);
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 wheat
- navajowhite — #FFDEAD
- peachpuff — #FFDAB9
- moccasin — #FFE4B5
- palegoldenrod — #EEE8AA
- bisque — #FFE4C4
- blanchedalmond — #FFEBCD
Frequently asked questions
What is the hex code for wheat?
The hex code for wheat is #F5DEB3 — RGB 245, 222, 179.
Can I use wheat for text?
Not on a white background. wheat reaches only 1.31:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on wheat be black or white?
Black — 15.98:1 against 1.31:1 the other way.
Other named colours
- white — #FFFFFF
- whitesmoke — #F5F5F5
- yellow — #FFFF00
- yellowgreen — #9ACD32
- aliceblue — #F0F8FF
- antiquewhite — #FAEBD7
- aqua — #00FFFF
- aquamarine — #7FFFD4
- azure — #F0FFFF
- beige — #F5F5DC
- bisque — #FFE4C4
- black — #000000
#F5DEB3 in full — tints, shades and harmonies · All named colours · Colour reference