Skip to content

#d7cd9b

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

RGB
215, 205, 155
HSL
50°, 43%, 73%
CMYK
0, 5, 28, 16
Luminance
0.6048

At a glance

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

Hex
#d7cd9b
Hue
50°
yellow
Saturation
43%
soft
Lightness
73%
light
Brightness
84%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6048
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.10:1
Closest name
Pale Goldenrod
ΔE2000 6.5
Where it sits
Hue50° of 360°
Saturation43%
Lightness73%
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#d7cd9b
RGBrgb(215, 205, 155)
HSLhsl(50, 43%, 73%)
CMYKcmyk(0%, 5%, 28%, 16%)
LABlab(82.1 -4.2 26.2)
LCHlch(82.1 26.5 99.2)
OKLCHoklch(0.844 0.067 98.1)
Decimal14142875
Display P3color(display-p3 0.843 0.804 0.608)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7cd9b on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#d7cd9b on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7CA98
deuteranopia · #DACE9D
tritanopia · #E0C6C0

Color scale — 50 to 950

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

#FAF9F5
#F5F3EB
#EAE6D1
#d7cd9b
#CFC387
#BFAF5F
#AF9D46
#92833A
#75692F
#554D25
#353017
Base = 300Lightest = 50 · #FAF9F5Darkest = 950 · #353017
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EB;
  --brand-200: #EAE6D1;
  --brand-300: #d7cd9b;
  --brand-400: #CFC387;
  --brand-500: #BFAF5F;
  --brand-600: #AF9D46;
  --brand-700: #92833A;
  --brand-800: #75692F;
  --brand-900: #554D25;
  --brand-950: #353017;
  --brand: #d7cd9b;
  --brand-ink: #000000;
}

Colors that work with #d7cd9b

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#FAF9F4
Tinted page background
Border#E8E2C5
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#365D96
Second voice, not a rival
Dark variant#5B5224
Hover, pressed, headers
Light variant#F8F6ED
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 #d7cd9b

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#9BA5D7
Analogous left#D7AF9B
Analogous right#C3D79B
Split-complement 1#9BC3D7
Split-complement 2#AF9BD7
Triadic 1#9BD7CD
Triadic 2#CD9BD7
Tetradic#9BD7AF

RGB percentages

Red84.3%
Green80.4%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow27.9%
Key (black)15.7%

Color previews

#d7cd9b text on a black background

contrast 13.10:1

Card sample

#d7cd9b text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cd9b

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.

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

#d7cd9b, answered

What color is #d7cd9b?

#d7cd9b is a light soft yellow, closest to Pale Goldenrod (ΔE2000 6.5). It sits at 50° on the hue wheel with 43% saturation and 73% lightness, which reads as warm.

What is the RGB value of #d7cd9b?

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

Is #d7cd9b a light or a dark color?

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

Should I use black or white text on #d7cd9b?

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

What is the complementary color of #d7cd9b?

#9BA5D7 sits directly opposite on the wheel. Softer options are the split-complements #9BC3D7 and #AF9BD7, which give the same contrast with far less vibration.

What colors go well with #d7cd9b?

For interface work: #FAF9F4 as the surface, #E8E2C5 for borders, #9B8E4B for secondary text, #365D96 as an accent and #5B5224 for hover and pressed states. For a palette, the analogous pair #D7AF9B and #C3D79B stays calm, while #9BA5D7 is the loudest partner.

What is #d7cd9b in CMYK for printing?

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

Is #d7cd9b 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 #D7B99B; nudged cooler, #CCD899.

Work with #d7cd9b in the Color Lab