Skip to content
PantoneTools
yellow
X11 named colors

Wheat4

wheat4 · #8B7E66

HEX

#8B7E66

RGB

rgb(139, 126, 102)

CMYK

cmyk(0%, 9%, 27%, 45%)

HSL

hsl(39, 15%, 47%)

LAB

lab(53.4, 0.9, 14.9)

What is Wheat4?

Wheat4 is the wheat4 reference in the X11 named colors. Its sRGB value is #8B7E66 (rgb 139, 126, 102). It sits in the yellow family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Wheat4 as a background.

Black text on this color

Sample text · 5.27 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 3.98 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Wheat4

An 11-step tonal scale derived from Wheat4 (#8B7E66). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F6F5F3

50

#F6F5F3

#F6F5F3

Copied #ECEAE7

100

#ECEAE7

#ECEAE7

Copied #DAD6CE

200

#DAD6CE

#DAD6CE

Copied #C5BFB3

300

#C5BFB3

#C5BFB3

Copied #A89E8C

400

#A89E8C

#A89E8C

Copied #8B7E66

500

#8B7E66

#8B7E66

Copied #766B57

600

#766B57

#766B57

Copied #5A5242

700

#5A5242

#5A5242

Copied #3F392E

800

#3F392E

#3F392E

Copied #23201A

900

#23201A

#23201A

Copied #110F0C

950

#110F0C

#110F0C

Lighter tints (mixed with white)

Copied #A49B8C

15%

#A49B8C

Copied #B8B2A8

30%

#B8B2A8

Copied #CAC6BF

45%

#CAC6BF

Copied #DAD8D3

60%

#DAD8D3

Copied #E9E7E5

75%

#E9E7E5

Darker shades (mixed with black)

Copied #81755E

15%

#81755E

Copied #766B56

30%

#766B56

Copied #695F4C

45%

#695F4C

Copied #5A5241

60%

#5A5241

Copied #484133

75%

#484133

Color harmonies for Wheat4

Classic color-theory harmonies derived from rotating the hue of Wheat4. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #8B7E66

#8B7E66

#8B7E66

Copied #66728A

#66728A

#66728A

Triadic

Three colors 120° apart

Copied #8B7E66

#8B7E66

#8B7E66

Copied #668A7D

#668A7D

#668A7D

Copied #7D668A

#7D668A

#7D668A

Analogous

Two neighbors ±30° on the wheel

Copied #8A6B66

#8A6B66

#8A6B66

Copied #8B7E66

#8B7E66

#8B7E66

Copied #848A66

#848A66

#848A66

Split-complementary

Base + two colors flanking its complement

Copied #8B7E66

#8B7E66

#8B7E66

Copied #66848A

#66848A

#66848A

Copied #6B668A

#6B668A

#6B668A

Tetradic

Two complementary pairs

Copied #8B7E66

#8B7E66

#8B7E66

Copied #728A66

#728A66

#728A66

Copied #66728A

#66728A

#66728A

Copied #7D668A

#7D668A

#7D668A

Square

Four colors evenly spaced 90° apart

Copied #8B7E66

#8B7E66

#8B7E66

Copied #668A6B

#668A6B

#668A6B

Copied #66728A

#66728A

#66728A

Copied #8A6684

#8A6684

#8A6684

Wheat4 in every color space

Full conversion of Wheat4 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#8B7E66

RGB

rgb(139, 126, 102)

CMYK

cmyk(0%, 9%, 27%, 45%)

HSL

hsl(39, 15%, 47%)

HSV

hsv(39, 27%, 55%)

HWB

hwb(39 40% 45%)

CIE Lab

lab(53.4 0.9 14.9)

OKLCH

oklch(59.8% 0.038 82.8)

XYZ (D65)

xyz(20.51, 21.37, 15.61)

Copy-ready code for Wheat4

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #8B7E66;
background-color: #8B7E66;

CSS variable

:root {
  --color-wheat4: #8B7E66;
}

Tailwind config

// tailwind.config.js
colors: {
  'wheat4': '#8B7E66',
}

Sass

$color-wheat4: #8B7E66;

Swift UIColor

UIColor(red: 0.545, green: 0.494, blue: 0.400, alpha: 1.0)

Android XML

<color name="wheat4">#8B7E66</color>

Closest match in every color system

The nearest Wheat4 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #817F68

RAL 7002

#817F68

Olive grey

Copied #756F61

RAL 7006

#756F61

Beige grey

Copied #7A7B6D

RAL 7003

#7A7B6D

Moss grey

Copied #8F8B66

RAL 7034

#8F8B66

Yellow grey

Copied #8B8C7A

RAL 7030

#8B8C7A

Stone grey

Copied #7D8471

RAL 7033

#7D8471

Cement grey

FAQ about Wheat4

What is the HEX code for Wheat4?

Wheat4 (wheat4) has the HEX code #8B7E66. In RGB it is rgb(139, 126, 102), and in CMYK it is cmyk(0%, 9%, 27%, 45%).

What is the OKLCH value of Wheat4?

Wheat4 converts to oklch(0.598 0.038 82.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Wheat4 accessible for body text?

Used as a background, Wheat4 has a contrast ratio of 5.27:1 with black text and 3.98:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Wheat4?

The closest Pantone reference to Wheat4 by ΔE2000 perceptual distance is Pantone 8021 C (#7D7461). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Wheat4?

The closest RAL Classic reference to Wheat4 by ΔE2000 distance is RAL 7002 (Olive grey, #817F68). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Wheat4?

The complementary color (180° opposite on the HSL color wheel) of Wheat4 is #66728A. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
yellow

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Wheat4 — #8B7E66 | PantoneTools