Skip to content

#d7d3af

a light, soft yellow · warm · closest name: Pale Goldenrod

RGB
215, 211, 175
HSL
54°, 33%, 77%
CMYK
0, 2, 19, 16
Luminance
0.6413

At a glance

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

Hex
#d7d3af
Hue
54°
yellow
Saturation
33%
soft
Lightness
77%
light
Brightness
84%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6413
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.83:1
Closest name
Pale Goldenrod
ΔE2000 7.6
Where it sits
Hue54° of 360°
Saturation33%
Lightness77%
Temperature
Warm ← → Cool21% 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#d7d3af
RGBrgb(215, 211, 175)
HSLhsl(54, 33%, 77%)
CMYKcmyk(0%, 2%, 19%, 16%)
LABlab(84.0 -4.5 18.4)
LCHlch(84.0 18.9 103.9)
OKLCHoklch(0.861 0.048 102.1)
Decimal14144431
Display P3color(display-p3 0.843 0.827 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7d3af on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d7d3af on black: 13.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAD0AD
deuteranopia · #DCD3B0
tritanopia · #DDCEC9

Color scale — 50 to 950

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

#F9F9F5
#F4F3EC
#E8E6D4
#d7d3af
#C7C18F
#B4AD69
#A39B52
#888144
#6D6736
#504C2A
#32301B
Base = 300Lightest = 50 · #F9F9F5Darkest = 950 · #32301B
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F3EC;
  --brand-200: #E8E6D4;
  --brand-300: #d7d3af;
  --brand-400: #C7C18F;
  --brand-500: #B4AD69;
  --brand-600: #A39B52;
  --brand-700: #888144;
  --brand-800: #6D6736;
  --brand-900: #504C2A;
  --brand-950: #32301B;
  --brand: #d7d3af;
  --brand-ink: #000000;
}

Colors that work with #d7d3af

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#E4E1C9
Hairlines and dividers
Muted text#99914D
Captions on the surface
Accent#415A8B
Second voice, not a rival
Dark variant#55512B
Hover, pressed, headers
Light variant#F6F6EE
Selected rows, tints
Dark surface#242314
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 #d7d3af

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#AFB3D7
Analogous left#D7BFAF
Analogous right#C7D7AF
Split-complement 1#AFC7D7
Split-complement 2#BFAFD7
Triadic 1#AFD7D3
Triadic 2#D3AFD7
Tetradic#AFD7BF

RGB percentages

Red84.3%
Green82.7%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow18.6%
Key (black)15.7%

Color previews

#d7d3af text on a black background

contrast 13.83:1

Card sample

#d7d3af text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7d3af

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.

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

#d7d3af, answered

What color is #d7d3af?

#d7d3af is a light soft yellow, closest to Pale Goldenrod (ΔE2000 7.6). It sits at 54° on the hue wheel with 33% saturation and 77% lightness, which reads as warm.

What is the RGB value of #d7d3af?

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

Is #d7d3af a light or a dark color?

It is a light color. Relative luminance is 0.6413 and perceived brightness is 82%, so black text on it reaches 13.83:1.

Should I use black or white text on #d7d3af?

Black. It scores 13.83:1 against #d7d3af, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #d7d3af?

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

What colors go well with #d7d3af?

For interface work: #FAF9F5 as the surface, #E4E1C9 for borders, #99914D for secondary text, #415A8B as an accent and #55512B for hover and pressed states. For a palette, the analogous pair #D7BFAF and #C7D7AF stays calm, while #AFB3D7 is the loudest partner.

What is #d7d3af in CMYK for printing?

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

Is #d7d3af warm or cool?

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

Work with #d7d3af in the Color Lab