Wheat Color (#F5DEB3)

A soft yellow for warm page backgrounds. CSS value: #F5DEB3.

Color value

Use HEX, RGB, HSL or a CSS color name, without transparency.

Normalized color

CSS names:

Compare black and white text

This compares black and white text on the selected background. Check the result for your text size before choosing either one.

Color relationships

Tints toward white

Shades toward black

Five steps mix the sRGB channels toward white or black: 0%, 25%, 50%, 75% and 100%. Equal numeric steps may not look equally spaced.

Supported color inputs and errors →

Wheat hex and RGB values

The CSS keyword wheat gives you #F5DEB3, or rgb(245, 222, 179).

Wheat is a soft yellow background for a warm palette. Give text and background tokens separate names so their roles stay clear when the design changes.

Compare black and white text

Text / backgroundRatioAA normalAA largeAAA normalAAA large
#000000 / #F5DEB315.98:1PassPassPassPass
#FFFFFF / #F5DEB31.31:1FailFailFailFail

Black text has the higher contrast on wheat: 15.98:1. The table compares both options against all four text thresholds, using the unrounded values for pass or fail.

Try wheat in a layout

The CSS sample below uses black text on #F5DEB3. Preview a 16 px label and a 24 px heading to compare normal and large text. Swap the colors to try wheat as the text color; the ratio stays the same.

.sample {
  background: #F5DEB3;
  color: #000000;
}

Copy the exact color

Use the converter to copy HEX, RGB or HSL. If you edit in HSL, the final value is rounded to eight-bit sRGB so the preview and exported color agree. For text over an image, gradient or translucent layer, check the finished design separately.

Sources and further reading