Skip to content

#d7cdaf

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

RGB
215, 205, 175
HSL
45°, 33%, 77%
CMYK
0, 5, 19, 16
Luminance
0.6120

At a glance

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

Hex
#d7cdaf
Hue
45°
yellow
Saturation
33%
soft
Lightness
77%
light
Brightness
84%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6120
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.24:1
Closest name
Wheat
ΔE2000 6.9
Where it sits
Hue45° of 360°
Saturation33%
Lightness77%
Temperature
Warm ← → Cool14% 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#d7cdaf
RGBrgb(215, 205, 175)
HSLhsl(45, 33%, 77%)
CMYKcmyk(0%, 5%, 19%, 16%)
LABlab(82.5 -1.4 16.2)
LCHlch(82.5 16.3 95.0)
OKLCHoklch(0.849 0.042 91.7)
Decimal14142895
Display P3color(display-p3 0.843 0.804 0.686)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#d7cdaf on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#d7cdaf on black: 13.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D4CBAD
deuteranopia · #D7CFB0
tritanopia · #DEC8C5

Color scale — 50 to 950

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

#F9F8F5
#F4F2EC
#E8E3D4
#d7cdaf
#C7B98F
#B4A169
#A38F52
#887744
#6D5F36
#50472A
#322C1B
Base = 300Lightest = 50 · #F9F8F5Darkest = 950 · #322C1B
:root {
  --brand-50: #F9F8F5;
  --brand-100: #F4F2EC;
  --brand-200: #E8E3D4;
  --brand-300: #d7cdaf;
  --brand-400: #C7B98F;
  --brand-500: #B4A169;
  --brand-600: #A38F52;
  --brand-700: #887744;
  --brand-800: #6D5F36;
  --brand-900: #50472A;
  --brand-950: #322C1B;
  --brand: #d7cdaf;
  --brand-ink: #000000;
}

Colors that work with #d7cdaf

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#FAF9F5
Tinted page background
Border#E4DDC9
Hairlines and dividers
Muted text#99864D
Captions on the surface
Accent#41668B
Second voice, not a rival
Dark variant#554A2B
Hover, pressed, headers
Light variant#F6F4EE
Selected rows, tints
Dark surface#242014
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 #d7cdaf

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#AFB9D7
Analogous left#D7B9AF
Analogous right#CDD7AF
Split-complement 1#AFCDD7
Split-complement 2#B9AFD7
Triadic 1#AFD7CD
Triadic 2#CDAFD7
Tetradic#AFD7B9

RGB percentages

Red84.3%
Green80.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow18.6%
Key (black)15.7%

Color previews

#d7cdaf text on a black background

contrast 13.24:1

Card sample

#d7cdaf text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cdaf

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.

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

#d7cdaf, answered

What color is #d7cdaf?

#d7cdaf is a light soft yellow, closest to Wheat (ΔE2000 6.9). It sits at 45° on the hue wheel with 33% saturation and 77% lightness, which reads as warm.

What is the RGB value of #d7cdaf?

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

Is #d7cdaf a light or a dark color?

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

Should I use black or white text on #d7cdaf?

Black. It scores 13.24:1 against #d7cdaf, versus 1.59:1 for white — AAA at any size.

What is the complementary color of #d7cdaf?

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

What colors go well with #d7cdaf?

For interface work: #FAF9F5 as the surface, #E4DDC9 for borders, #99864D for secondary text, #41668B as an accent and #554A2B for hover and pressed states. For a palette, the analogous pair #D7B9AF and #CDD7AF stays calm, while #AFB9D7 is the loudest partner.

What is #d7cdaf in CMYK for printing?

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

Is #d7cdaf warm or cool?

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

Work with #d7cdaf in the Color Lab