Skip to content

#d7d4af

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

RGB
215, 212, 175
HSL
56°, 33%, 77%
CMYK
0, 1, 19, 16
Luminance
0.6463

At a glance

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

Hex
#d7d4af
Hue
56°
yellow
Saturation
33%
soft
Lightness
77%
light
Brightness
84%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6463
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.93:1
Closest name
Pale Goldenrod
ΔE2000 7.3
Where it sits
Hue56° of 360°
Saturation33%
Lightness77%
Temperature
Warm ← → Cool23% 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#d7d4af
RGBrgb(215, 212, 175)
HSLhsl(56, 33%, 77%)
CMYKcmyk(0%, 1%, 19%, 16%)
LABlab(84.3 -5.0 18.7)
LCHlch(84.3 19.4 105.1)
OKLCHoklch(0.863 0.049 103.6)
Decimal14144687
Display P3color(display-p3 0.843 0.831 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7d4af on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#d7d4af on black: 13.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBD1AD
deuteranopia · #DCD3B0
tritanopia · #DDCFCA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d7d4af 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
#d7d4af
#C7C38F
#B4AF69
#A39D52
#888344
#6D6936
#504D2A
#32301B
Base = 300Lightest = 50 · #F9F9F5Darkest = 950 · #32301B
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F3EC;
  --brand-200: #E8E6D4;
  --brand-300: #d7d4af;
  --brand-400: #C7C38F;
  --brand-500: #B4AF69;
  --brand-600: #A39D52;
  --brand-700: #888344;
  --brand-800: #6D6936;
  --brand-900: #504D2A;
  --brand-950: #32301B;
  --brand: #d7d4af;
  --brand-ink: #000000;
}

Colors that work with #d7d4af

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#FAFAF5
Tinted page background
Border#E4E2C9
Hairlines and dividers
Muted text#99934D
Captions on the surface
Accent#41588B
Second voice, not a rival
Dark variant#55522B
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 #d7d4af

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#AFB2D7
Analogous left#D7C0AF
Analogous right#C6D7AF
Split-complement 1#AFC6D7
Split-complement 2#C0AFD7
Triadic 1#AFD7D4
Triadic 2#D4AFD7
Tetradic#AFD7C0

RGB percentages

Red84.3%
Green83.1%
Blue68.6%

CMYK percentages

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

Color previews

#d7d4af text on a black background

contrast 13.93:1

Card sample

#d7d4af text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7d4af

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.

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

#d7d4af, answered

What color is #d7d4af?

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

What is the RGB value of #d7d4af?

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

Is #d7d4af a light or a dark color?

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

Should I use black or white text on #d7d4af?

Black. It scores 13.93:1 against #d7d4af, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #d7d4af?

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

What colors go well with #d7d4af?

For interface work: #FAFAF5 as the surface, #E4E2C9 for borders, #99934D for secondary text, #41588B as an accent and #55522B for hover and pressed states. For a palette, the analogous pair #D7C0AF and #C6D7AF stays calm, while #AFB2D7 is the loudest partner.

What is #d7d4af in CMYK for printing?

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

Is #d7d4af warm or cool?

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

Work with #d7d4af in the Color Lab