Skip to content

#d3c7af

a light, soft yellow · warm · closest name: Wheat

RGB
211, 199, 175
HSL
40°, 29%, 76%
CMYK
0, 6, 17, 17
Luminance
0.5779

At a glance

Every number on this page in one read: what #d3c7af is made of, how bright it looks, and which way it leans.

Hex
#d3c7af
Hue
40°
yellow
Saturation
29%
soft
Lightness
76%
light
Brightness
83%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5779
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.56:1
Closest name
Wheat
ΔE2000 8.2
Where it sits
Hue40° of 360°
Saturation29%
Lightness76%
Temperature
Warm ← → Cool15% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d3c7af
RGBrgb(211, 199, 175)
HSLhsl(40, 29%, 76%)
CMYKcmyk(0%, 6%, 17%, 17%)
LABlab(80.6 0.2 13.5)
LCHlch(80.6 13.5 89.0)
OKLCHoklch(0.833 0.035 84.6)
Decimal13879215
Display P3color(display-p3 0.827 0.780 0.686)

Copy-ready code

/* CSS */
color: #d3c7af;
background-color: #d3c7af;
/* Tailwind (arbitrary) */
class="text-[#d3c7af] bg-[#d3c7af]"
/* SCSS */
$brand: #d3c7af;
/* SwiftUI */
Color(red: 0.827, green: 0.780, blue: 0.686)
/* Android */
Color.parseColor("#d3c7af")
/* Flutter */
Color(0xFFD3C7AF)
/* Python / OpenCV (BGR) */
(175, 199, 211)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #d3c7af · 12.56:1
Use #000000AAA at every size.
Aa
White text · 1.67:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.56:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d3c7af as text scores 1.67:1 on white and 12.56:1 on black.

Accessibility — WCAG contrast

Aa
#d3c7af on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#d3c7af on black: 12.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDC6AE
deuteranopia · #D0C9B0
tritanopia · #D9C3C0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d3c7af is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F8F6
#F3F1EC
#E6E1D5
#d3c7af
#C3B392
#AF9A6E
#9E8657
#847048
#69593A
#4E432D
#302A1C
Base = 300Lightest = 50 · #F9F8F6Darkest = 950 · #302A1C
:root {
  --brand-50: #F9F8F6;
  --brand-100: #F3F1EC;
  --brand-200: #E6E1D5;
  --brand-300: #d3c7af;
  --brand-400: #C3B392;
  --brand-500: #AF9A6E;
  --brand-600: #9E8657;
  --brand-700: #847048;
  --brand-800: #69593A;
  --brand-900: #4E432D;
  --brand-950: #302A1C;
  --brand: #d3c7af;
  --brand-ink: #000000;
}

Colors that work with #d3c7af

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF8F5
Tinted page background
Border#E2DACA
Hairlines and dividers
Muted text#947E51
Captions on the surface
Accent#456B87
Second voice, not a rival
Dark variant#52462D
Hover, pressed, headers
Light variant#F6F3EF
Selected rows, tints
Dark surface#241F14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #d3c7af

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#AFBBD3
Analogous left#D3B5AF
Analogous right#CDD3AF
Split-complement 1#AFCDD3
Split-complement 2#B5AFD3
Triadic 1#AFD3C7
Triadic 2#C7AFD3
Tetradic#AFD3B5

RGB percentages

Red82.7%
Green78.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta5.7%
Yellow17.1%
Key (black)17.3%

Color previews

#d3c7af text on a black background

contrast 12.56:1

Card sample

#d3c7af text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d3c7af;
Background color
Panel with #d3c7af background
background-color: #d3c7af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d3c7af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(211, 199, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 199, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3c7af;
background: linear-gradient(135deg, #d3c7af, #C7D3AF);

Monochromatic scale

Palettes built from #d3c7af

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#d3c7af in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#d3c7af, answered

What color is #d3c7af?

#d3c7af is a light soft yellow, closest to Wheat (ΔE2000 8.2). It sits at 40° on the hue wheel with 29% saturation and 76% lightness, which reads as warm.

What is the RGB value of #d3c7af?

rgb(211, 199, 175) — 211 red, 199 green and 175 blue out of 255, or 82.7% / 78% / 68.6% by channel.

Is #d3c7af a light or a dark color?

It is a light color. Relative luminance is 0.5779 and perceived brightness is 78%, so black text on it reaches 12.56:1.

Should I use black or white text on #d3c7af?

Black. It scores 12.56:1 against #d3c7af, versus 1.67:1 for white — AAA at any size.

What is the complementary color of #d3c7af?

#AFBBD3 sits directly opposite on the wheel. Softer options are the split-complements #AFCDD3 and #B5AFD3, which give the same contrast with far less vibration.

What colors go well with #d3c7af?

For interface work: #FAF8F5 as the surface, #E2DACA for borders, #947E51 for secondary text, #456B87 as an accent and #52462D for hover and pressed states. For a palette, the analogous pair #D3B5AF and #CDD3AF stays calm, while #AFBBD3 is the loudest partner.

What is #d3c7af in CMYK for printing?

cmyk(0%, 6%, 17%, 17%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d3c7af warm or cool?

Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D3BFAF; nudged cooler, #D3D4AE.

Work with #d3c7af in the Color Lab