CSS named color

Wheat #F5DEB3

wheat rgb(245, 222, 179)

Wheat is a light orange with the hex code #F5DEB3, which converts to rgb(245, 222, 179). Open #F5DEB3 in the converter to tweak it.

Wheat color values

HEX#F5DEB3
HEX (shorthand)—
RGBrgb(245, 222, 179)
RGBArgba(245, 222, 179, 1)
8-digit HEX#F5DEB3FF
HSLhsl(39, 77%, 83%)
HSV / HSB39°, 27%, 96%
CMYK0%, 9%, 27%, 4%
RGB 0–10.961, 0.871, 0.702
Decimal16113331
CSS keywordwheat

How #F5DEB3 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: F5 → 245, DE → 222, B3 → 179. That gives rgb(245, 222, 179). The step-by-step guide explains the math.

Shades of Wheat

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Wheat

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Wheat on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Wheat 1.31:1Fail
Black Wheat 15.98:1AAA

Use black text on a wheat background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Wheat in CSS

.element {
  color: wheat;                         /* keyword */
  background-color: #F5DEB3;            /* hex */
  border-color: rgb(245 222 179 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #F5DEB380 is Wheat at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Wheat?

The CSS named color wheat is #F5DEB3 in hexadecimal. In CSS you can write color: wheat; or color: #F5DEB3; — both produce the same pixel.

What is Wheat in RGB?

Wheat is rgb(245, 222, 179): red 245, green 222, blue 179 on the 0–255 scale. As normalized 0–1 floats that is (0.961, 0.871, 0.702).

Is white or black text more readable on Wheat?

Black text is more readable. White on #F5DEB3 has a contrast ratio of 1.31:1 (Fail), black on #F5DEB3 has 15.98:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!