Skip to content

#d7cd85

a light, vivid yellow · warm · closest name: Dark Khaki

RGB
215, 205, 133
HSL
53°, 51%, 68%
CMYK
0, 5, 38, 16
Luminance
0.5980

At a glance

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

Hex
#d7cd85
Hue
53°
yellow
Saturation
51%
vivid
Lightness
68%
light
Brightness
84%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5980
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.96:1
Closest name
Dark Khaki
ΔE2000 6.1
Where it sits
Hue53° of 360°
Saturation51%
Lightness68%
Temperature
Warm ← → Cool19% 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#d7cd85
RGBrgb(215, 205, 133)
HSLhsl(53, 51%, 68%)
CMYKcmyk(0%, 5%, 38%, 16%)
LABlab(81.7 -6.9 37.1)
LCHlch(81.7 37.7 100.6)
OKLCHoklch(0.840 0.093 101.3)
Decimal14142853
Display P3color(display-p3 0.843 0.804 0.522)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7cd85 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#d7cd85 on black: 12.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC980
deuteranopia · #DDCD88
tritanopia · #E3C4BB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d7cd85 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFAF4
#F6F4EA
#EDE9CF
#E3DCAB
#d7cd85
#C8BA56
#B8A93C
#9A8D32
#7B7128
#5A5321
#383414
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #383414
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F4EA;
  --brand-200: #EDE9CF;
  --brand-300: #E3DCAB;
  --brand-400: #d7cd85;
  --brand-500: #C8BA56;
  --brand-600: #B8A93C;
  --brand-700: #9A8D32;
  --brand-800: #7B7128;
  --brand-900: #5A5321;
  --brand-950: #383414;
  --brand: #d7cd85;
  --brand-ink: #000000;
}

Colors that work with #d7cd85

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#FAFAF4
Tinted page background
Border#EBE6C2
Hairlines and dividers
Muted text#9B914B
Captions on the surface
Accent#2F589D
Second voice, not a rival
Dark variant#60581F
Hover, pressed, headers
Light variant#F9F7EC
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 #d7cd85

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#858FD7
Analogous left#D7A485
Analogous right#B8D785
Split-complement 1#85B8D7
Split-complement 2#A485D7
Triadic 1#85D7CD
Triadic 2#CD85D7
Tetradic#85D7A4

RGB percentages

Red84.3%
Green80.4%
Blue52.2%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow38.1%
Key (black)15.7%

Color previews

#d7cd85 text on a black background

contrast 12.96:1

Card sample

#d7cd85 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cd85

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.

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

#d7cd85, answered

What color is #d7cd85?

#d7cd85 is a light vivid yellow, closest to Dark Khaki (ΔE2000 6.1). It sits at 53° on the hue wheel with 51% saturation and 68% lightness, which reads as warm.

What is the RGB value of #d7cd85?

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

Is #d7cd85 a light or a dark color?

It is a light color. Relative luminance is 0.5980 and perceived brightness is 79%, so black text on it reaches 12.96:1.

Should I use black or white text on #d7cd85?

Black. It scores 12.96:1 against #d7cd85, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #d7cd85?

#858FD7 sits directly opposite on the wheel. Softer options are the split-complements #85B8D7 and #A485D7, which give the same contrast with far less vibration.

What colors go well with #d7cd85?

For interface work: #FAFAF4 as the surface, #EBE6C2 for borders, #9B914B for secondary text, #2F589D as an accent and #60581F for hover and pressed states. For a palette, the analogous pair #D7A485 and #B8D785 stays calm, while #858FD7 is the loudest partner.

What is #d7cd85 in CMYK for printing?

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

Is #d7cd85 warm or cool?

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

Work with #d7cd85 in the Color Lab