Wheat
Hex #F5DEB3, rgb(245 222 179). An orange CSS named color.
Open in palette generatorWheat color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Wheat
Wheat is a very light moderately saturated orange with the hex code #F5DEB3. In RGB it is made of 245 red, 222 green and 179 blue; in HSL its hue is 39°, with 77% saturation and 83% lightness. Its perceptual lightness (OKLCH L) is 90.9%.
It is a CSS named color, so you can write "wheat" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.31:1 and against black 15.98:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Wheat mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Wheat 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Wheat
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Analogous
Split complementary
Monochromatic
Contrast and readability
WCAG 2 contrast of Wheat with white and black. The readable text color on Wheat is black.
On white1.31:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 16
On black15.98:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -88
Test any pair in the contrast checker.
Color blindness preview
How Wheat appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#E9DDB0
- Deuteranopia#EFE3B4
- Tritanopia#FFD6D2
- Protanomaly#EDDEB1
- Deuteranomaly#F0E2B4
- Tritanomaly#F9DBC2
- Achromatopsia#E0E0E0
Colors similar to Wheat
The closest named colors by perceptual difference (OKLab).
Use Wheat in CSS and Tailwind
.wheat {
color: wheat; /* #F5DEB3 */
background-color: rgb(245 222 179);
border-color: oklch(90.9% 0.061 83);
}/* Tailwind CSS v4: bg-wheat-500, text-wheat-700... */
@theme {
--color-wheat-50: #FFF9F0;
--color-wheat-100: #FBEED8;
--color-wheat-200: #F5DEB3;
--color-wheat-300: #E8BE6B;
--color-wheat-400: #CB9600;
--color-wheat-500: #AE8000;
--color-wheat-600: #956D00;
--color-wheat-700: #785700;
--color-wheat-800: #604500;
--color-wheat-900: #4F3800;
--color-wheat-950: #1F1400;
}
<!-- or the exact color, no config -->
<div class="bg-[#F5DEB3] text-[#000000]">…</div>