Skip to content

#d3c8af

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

RGB
211, 200, 175
HSL
42°, 29%, 76%
CMYK
0, 5, 17, 17
Luminance
0.5825

At a glance

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

Hex
#d3c8af
Hue
42°
yellow
Saturation
29%
soft
Lightness
76%
light
Brightness
83%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5825
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.65:1
Closest name
Wheat
ΔE2000 8
Where it sits
Hue42° of 360°
Saturation29%
Lightness76%
Temperature
Warm ← → Cool17% 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#d3c8af
RGBrgb(211, 200, 175)
HSLhsl(42, 29%, 76%)
CMYKcmyk(0%, 5%, 17%, 17%)
LABlab(80.9 -0.3 13.9)
LCHlch(80.9 13.9 91.2)
OKLCHoklch(0.835 0.036 87.1)
Decimal13879471
Display P3color(display-p3 0.827 0.784 0.686)

Copy-ready code

/* CSS */
color: #d3c8af;
background-color: #d3c8af;
/* Tailwind (arbitrary) */
class="text-[#d3c8af] bg-[#d3c8af]"
/* SCSS */
$brand: #d3c8af;
/* SwiftUI */
Color(red: 0.827, green: 0.784, blue: 0.686)
/* Android */
Color.parseColor("#d3c8af")
/* Flutter */
Color(0xFFD3C8AF)
/* Python / OpenCV (BGR) */
(175, 200, 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 #d3c8af · 12.65:1
Use #000000AAA at every size.
Aa
White text · 1.66:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d3c8af as text scores 1.66:1 on white and 12.65:1 on black.

Accessibility — WCAG contrast

Aa
#d3c8af on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#d3c8af on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEC7AE
deuteranopia · #D1CAB0
tritanopia · #D9C4C1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d3c8af 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
#d3c8af
#C3B492
#AF9B6E
#9E8857
#847248
#695B3A
#4E442D
#302A1C
Base = 300Lightest = 50 · #F9F8F6Darkest = 950 · #302A1C
:root {
  --brand-50: #F9F8F6;
  --brand-100: #F3F1EC;
  --brand-200: #E6E1D5;
  --brand-300: #d3c8af;
  --brand-400: #C3B492;
  --brand-500: #AF9B6E;
  --brand-600: #9E8857;
  --brand-700: #847248;
  --brand-800: #695B3A;
  --brand-900: #4E442D;
  --brand-950: #302A1C;
  --brand: #d3c8af;
  --brand-ink: #000000;
}

Colors that work with #d3c8af

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#E2DBCA
Hairlines and dividers
Muted text#948051
Captions on the surface
Accent#456987
Second voice, not a rival
Dark variant#52472D
Hover, pressed, headers
Light variant#F6F4EF
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 #d3c8af

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#AFBAD3
Analogous left#D3B6AF
Analogous right#CCD3AF
Split-complement 1#AFCCD3
Split-complement 2#B6AFD3
Triadic 1#AFD3C8
Triadic 2#C8AFD3
Tetradic#AFD3B6

RGB percentages

Red82.7%
Green78.4%
Blue68.6%

CMYK percentages

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

Color previews

#d3c8af text on a black background

contrast 12.65:1

Card sample

#d3c8af text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3c8af

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.

#d3c8af 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.

#d3c8af, answered

What color is #d3c8af?

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

What is the RGB value of #d3c8af?

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

Is #d3c8af a light or a dark color?

It is a light color. Relative luminance is 0.5825 and perceived brightness is 79%, so black text on it reaches 12.65:1.

Should I use black or white text on #d3c8af?

Black. It scores 12.65:1 against #d3c8af, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #d3c8af?

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

What colors go well with #d3c8af?

For interface work: #FAF8F5 as the surface, #E2DBCA for borders, #948051 for secondary text, #456987 as an accent and #52472D for hover and pressed states. For a palette, the analogous pair #D3B6AF and #CCD3AF stays calm, while #AFBAD3 is the loudest partner.

What is #d3c8af in CMYK for printing?

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

Is #d3c8af warm or cool?

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

Work with #d3c8af in the Color Lab