Skip to content

#d2cdaf

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

RGB
210, 205, 175
HSL
51°, 28%, 76%
CMYK
0, 2, 17, 18
Luminance
0.6046

At a glance

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

Hex
#d2cdaf
Hue
51°
yellow
Saturation
28%
soft
Lightness
76%
light
Brightness
82%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6046
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.09:1
Closest name
Wheat
ΔE2000 8.5
Where it sits
Hue51° of 360°
Saturation28%
Lightness76%
Temperature
Warm ← → Cool24% 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#d2cdaf
RGBrgb(210, 205, 175)
HSLhsl(51, 28%, 76%)
CMYKcmyk(0%, 2%, 17%, 18%)
LABlab(82.1 -3.3 15.6)
LCHlch(82.1 15.9 101.8)
OKLCHoklch(0.844 0.041 99.4)
Decimal13815215
Display P3color(display-p3 0.824 0.804 0.686)

Copy-ready code

/* CSS */
color: #d2cdaf;
background-color: #d2cdaf;
/* Tailwind (arbitrary) */
class="text-[#d2cdaf] bg-[#d2cdaf]"
/* SCSS */
$brand: #d2cdaf;
/* SwiftUI */
Color(red: 0.824, green: 0.804, blue: 0.686)
/* Android */
Color.parseColor("#d2cdaf")
/* Flutter */
Color(0xFFD2CDAF)
/* Python / OpenCV (BGR) */
(175, 205, 210)

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 #d2cdaf · 13.09:1
Use #000000AAA at every size.
Aa
White text · 1.60:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d2cdaf as text scores 1.60:1 on white and 13.09:1 on black.

Accessibility — WCAG contrast

Aa
#d2cdaf on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#d2cdaf on black: 13.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3CBAD
deuteranopia · #D5CDB0
tritanopia · #D8C9C5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d2cdaf 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.

#F9F9F6
#F3F2EC
#E6E4D6
#d2cdaf
#C2BC93
#AEA56F
#9D9358
#837A49
#68623B
#4D482D
#302D1C
Base = 300Lightest = 50 · #F9F9F6Darkest = 950 · #302D1C
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F2EC;
  --brand-200: #E6E4D6;
  --brand-300: #d2cdaf;
  --brand-400: #C2BC93;
  --brand-500: #AEA56F;
  --brand-600: #9D9358;
  --brand-700: #837A49;
  --brand-800: #68623B;
  --brand-900: #4D482D;
  --brand-950: #302D1C;
  --brand: #d2cdaf;
  --brand-ink: #000000;
}

Colors that work with #d2cdaf

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#F9F9F5
Tinted page background
Border#E2DECB
Hairlines and dividers
Muted text#938A53
Captions on the surface
Accent#455E87
Second voice, not a rival
Dark variant#524C2E
Hover, pressed, headers
Light variant#F6F5EF
Selected rows, tints
Dark surface#242214
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 #d2cdaf

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#AFB4D2
Analogous left#D2BCAF
Analogous right#C6D2AF
Split-complement 1#AFC6D2
Split-complement 2#BCAFD2
Triadic 1#AFD2CD
Triadic 2#CDAFD2
Tetradic#AFD2BC

RGB percentages

Red82.4%
Green80.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow16.7%
Key (black)17.6%

Color previews

#d2cdaf text on a black background

contrast 13.09:1

Card sample

#d2cdaf text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cdaf

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.

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

#d2cdaf, answered

What color is #d2cdaf?

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

What is the RGB value of #d2cdaf?

rgb(210, 205, 175) — 210 red, 205 green and 175 blue out of 255, or 82.4% / 80.4% / 68.6% by channel.

Is #d2cdaf a light or a dark color?

It is a light color. Relative luminance is 0.6046 and perceived brightness is 80%, so black text on it reaches 13.09:1.

Should I use black or white text on #d2cdaf?

Black. It scores 13.09:1 against #d2cdaf, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #d2cdaf?

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

What colors go well with #d2cdaf?

For interface work: #F9F9F5 as the surface, #E2DECB for borders, #938A53 for secondary text, #455E87 as an accent and #524C2E for hover and pressed states. For a palette, the analogous pair #D2BCAF and #C6D2AF stays calm, while #AFB4D2 is the loudest partner.

What is #d2cdaf in CMYK for printing?

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

Is #d2cdaf warm or cool?

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

Work with #d2cdaf in the Color Lab