Skip to content

#d2d4ba

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

RGB
210, 212, 186
HSL
65°, 23%, 78%
CMYK
1, 0, 12, 17
Luminance
0.6433

At a glance

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

Hex
#d2d4ba
Hue
65°
yellow
Saturation
23%
soft
Lightness
78%
light
Brightness
83%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6433
WCAG relative
Temperature
Warm
36/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.87:1
Closest name
Beige
ΔE2000 7.5
Where it sits
Hue65° of 360°
Saturation23%
Lightness78%
Temperature
Warm ← → Cool36% 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#d2d4ba
RGBrgb(210, 212, 186)
HSLhsl(65, 23%, 78%)
CMYKcmyk(1%, 0%, 12%, 17%)
LABlab(84.1 -5.2 12.7)
LCHlch(84.1 13.7 112.2)
OKLCHoklch(0.861 0.035 110.7)
Decimal13817018
Display P3color(display-p3 0.824 0.831 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d4ba on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#d2d4ba on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9D1B9
deuteranopia · #D9D2BB
tritanopia · #D6D1CD

Color scale — 50 to 950

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

#F9F9F6
#F2F2ED
#E4E5D7
#d2d4ba
#BBBE97
#A5A975
#92975E
#7A7E4E
#62653F
#484A30
#2D2E1E
Base = 300Lightest = 50 · #F9F9F6Darkest = 950 · #2D2E1E
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F2F2ED;
  --brand-200: #E4E5D7;
  --brand-300: #d2d4ba;
  --brand-400: #BBBE97;
  --brand-500: #A5A975;
  --brand-600: #92975E;
  --brand-700: #7A7E4E;
  --brand-800: #62653F;
  --brand-900: #484A30;
  --brand-950: #2D2E1E;
  --brand: #d2d4ba;
  --brand-ink: #000000;
}

Colors that work with #d2d4ba

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#F9F9F6
Tinted page background
Border#DEE0CD
Hairlines and dividers
Muted text#898D58
Captions on the surface
Accent#4B5481
Second voice, not a rival
Dark variant#4C4F31
Hover, pressed, headers
Light variant#F5F5EF
Selected rows, tints
Dark surface#222316
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 #d2d4ba

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#BCBAD4
Analogous left#D4C9BA
Analogous right#C5D4BA
Split-complement 1#BAC5D4
Split-complement 2#C9BAD4
Triadic 1#BAD2D4
Triadic 2#D4BAD2
Tetradic#BAD4C9

RGB percentages

Red82.4%
Green83.1%
Blue72.9%

CMYK percentages

Cyan0.9%
Magenta0.0%
Yellow12.3%
Key (black)16.9%

Color previews

#d2d4ba text on a black background

contrast 13.87:1

Card sample

#d2d4ba text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2d4ba

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.

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

#d2d4ba, answered

What color is #d2d4ba?

#d2d4ba is a light soft yellow, closest to Beige (ΔE2000 7.5). It sits at 65° on the hue wheel with 23% saturation and 78% lightness, which reads as warm.

What is the RGB value of #d2d4ba?

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

Is #d2d4ba a light or a dark color?

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

Should I use black or white text on #d2d4ba?

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

What is the complementary color of #d2d4ba?

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

What colors go well with #d2d4ba?

For interface work: #F9F9F6 as the surface, #DEE0CD for borders, #898D58 for secondary text, #4B5481 as an accent and #4C4F31 for hover and pressed states. For a palette, the analogous pair #D4C9BA and #C5D4BA stays calm, while #BCBAD4 is the loudest partner.

What is #d2d4ba in CMYK for printing?

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

Is #d2d4ba warm or cool?

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

Work with #d2d4ba in the Color Lab