Skip to content

#d2ba89

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

RGB
210, 186, 137
HSL
40°, 45%, 68%
CMYK
0, 11, 35, 18
Luminance
0.5063

At a glance

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

Hex
#d2ba89
Hue
40°
yellow
Saturation
45%
soft
Lightness
68%
light
Brightness
82%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5063
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.13:1
Closest name
Tan
ΔE2000 4
Where it sits
Hue40° of 360°
Saturation45%
Lightness68%
Temperature
Warm ← → Cool9% 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#d2ba89
RGBrgb(210, 186, 137)
HSLhsl(40, 45%, 68%)
CMYKcmyk(0%, 11%, 35%, 18%)
LABlab(76.5 1.5 28.0)
LCHlch(76.5 28.1 87.0)
OKLCHoklch(0.798 0.070 84.7)
Decimal13810313
Display P3color(display-p3 0.824 0.729 0.537)

Copy-ready code

/* CSS */
color: #d2ba89;
background-color: #d2ba89;
/* Tailwind (arbitrary) */
class="text-[#d2ba89] bg-[#d2ba89]"
/* SCSS */
$brand: #d2ba89;
/* SwiftUI */
Color(red: 0.824, green: 0.729, blue: 0.537)
/* Android */
Color.parseColor("#d2ba89")
/* Flutter */
Color(0xFFD2BA89)
/* Python / OpenCV (BGR) */
(137, 186, 210)

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

Accessibility — WCAG contrast

Aa
#d2ba89 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#d2ba89 on black: 11.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6B986
deuteranopia · #CCBF8A
tritanopia · #DEB2AD

Color scale — 50 to 950

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

#FAF8F5
#F5F2EA
#EBE2D1
#E0D0AE
#d2ba89
#C1A05D
#B18D44
#947638
#765E2D
#564624
#362C16
Base = 400Lightest = 50 · #FAF8F5Darkest = 950 · #362C16
:root {
  --brand-50: #FAF8F5;
  --brand-100: #F5F2EA;
  --brand-200: #EBE2D1;
  --brand-300: #E0D0AE;
  --brand-400: #d2ba89;
  --brand-500: #C1A05D;
  --brand-600: #B18D44;
  --brand-700: #947638;
  --brand-800: #765E2D;
  --brand-900: #564624;
  --brand-950: #362C16;
  --brand: #d2ba89;
  --brand-ink: #000000;
}

Colors that work with #d2ba89

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#FAF8F4
Tinted page background
Border#E8DCC4
Hairlines and dividers
Muted text#9B814B
Captions on the surface
Accent#356E97
Second voice, not a rival
Dark variant#5C4A23
Hover, pressed, headers
Light variant#F8F4ED
Selected rows, tints
Dark surface#241F14
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 #d2ba89

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#89A1D2
Analogous left#D29589
Analogous right#C5D289
Split-complement 1#89C5D2
Split-complement 2#9589D2
Triadic 1#89D2BA
Triadic 2#BA89D2
Tetradic#89D295

RGB percentages

Red82.4%
Green72.9%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow34.8%
Key (black)17.6%

Color previews

#d2ba89 text on a black background

contrast 11.13:1

Card sample

#d2ba89 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 186, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 186, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2ba89;
background: linear-gradient(135deg, #d2ba89, #B9D289);

Monochromatic scale

Palettes built from #d2ba89

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.

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

#d2ba89, answered

What color is #d2ba89?

#d2ba89 is a light soft yellow, closest to Tan (ΔE2000 4). It sits at 40° on the hue wheel with 45% saturation and 68% lightness, which reads as warm.

What is the RGB value of #d2ba89?

rgb(210, 186, 137) — 210 red, 186 green and 137 blue out of 255, or 82.4% / 72.9% / 53.7% by channel.

Is #d2ba89 a light or a dark color?

It is a light color. Relative luminance is 0.5063 and perceived brightness is 74%, so black text on it reaches 11.13:1.

Should I use black or white text on #d2ba89?

Black. It scores 11.13:1 against #d2ba89, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #d2ba89?

#89A1D2 sits directly opposite on the wheel. Softer options are the split-complements #89C5D2 and #9589D2, which give the same contrast with far less vibration.

What colors go well with #d2ba89?

For interface work: #FAF8F4 as the surface, #E8DCC4 for borders, #9B814B for secondary text, #356E97 as an accent and #5C4A23 for hover and pressed states. For a palette, the analogous pair #D29589 and #C5D289 stays calm, while #89A1D2 is the loudest partner.

What is #d2ba89 in CMYK for printing?

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

Is #d2ba89 warm or cool?

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

Work with #d2ba89 in the Color Lab