Skip to content

#d4d2af

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

RGB
212, 210, 175
HSL
57°, 30%, 76%
CMYK
0, 1, 18, 17
Luminance
0.6319

At a glance

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

Hex
#d4d2af
Hue
57°
yellow
Saturation
30%
soft
Lightness
76%
light
Brightness
83%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6319
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.64:1
Closest name
Pale Goldenrod
ΔE2000 8
Where it sits
Hue57° of 360°
Saturation30%
Lightness76%
Temperature
Warm ← → Cool26% 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#d4d2af
RGBrgb(212, 210, 175)
HSLhsl(57, 30%, 76%)
CMYKcmyk(0%, 1%, 18%, 17%)
LABlab(83.5 -5.1 17.6)
LCHlch(83.5 18.4 106.2)
OKLCHoklch(0.856 0.047 104.6)
Decimal13947567
Display P3color(display-p3 0.831 0.824 0.686)

Copy-ready code

/* CSS */
color: #d4d2af;
background-color: #d4d2af;
/* Tailwind (arbitrary) */
class="text-[#d4d2af] bg-[#d4d2af]"
/* SCSS */
$brand: #d4d2af;
/* SwiftUI */
Color(red: 0.831, green: 0.824, blue: 0.686)
/* Android */
Color.parseColor("#d4d2af")
/* Flutter */
Color(0xFFD4D2AF)
/* Python / OpenCV (BGR) */
(175, 210, 212)

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

Accessibility — WCAG contrast

Aa
#d4d2af on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#d4d2af on black: 13.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9CFAD
deuteranopia · #DAD1B0
tritanopia · #DACDC8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d4d2af 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
#F3F3EC
#E7E6D5
#d4d2af
#C4C192
#B1AD6D
#9F9B56
#858147
#6A6839
#4E4C2C
#31301C
Base = 300Lightest = 50 · #F9F9F6Darkest = 950 · #31301C
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F3EC;
  --brand-200: #E7E6D5;
  --brand-300: #d4d2af;
  --brand-400: #C4C192;
  --brand-500: #B1AD6D;
  --brand-600: #9F9B56;
  --brand-700: #858147;
  --brand-800: #6A6839;
  --brand-900: #4E4C2C;
  --brand-950: #31301C;
  --brand: #d4d2af;
  --brand-ink: #000000;
}

Colors that work with #d4d2af

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#FAF9F5
Tinted page background
Border#E2E1CA
Hairlines and dividers
Muted text#959250
Captions on the surface
Accent#435789
Second voice, not a rival
Dark variant#53512D
Hover, pressed, headers
Light variant#F6F6EE
Selected rows, tints
Dark surface#242414
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 #d4d2af

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#AFB1D4
Analogous left#D4C0AF
Analogous right#C4D4AF
Split-complement 1#AFC4D4
Split-complement 2#C0AFD4
Triadic 1#AFD4D2
Triadic 2#D2AFD4
Tetradic#AFD4C0

RGB percentages

Red83.1%
Green82.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow17.5%
Key (black)16.9%

Color previews

#d4d2af text on a black background

contrast 13.64:1

Card sample

#d4d2af text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4d2af

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.

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

#d4d2af, answered

What color is #d4d2af?

#d4d2af is a light soft yellow, closest to Pale Goldenrod (ΔE2000 8). It sits at 57° on the hue wheel with 30% saturation and 76% lightness, which reads as warm.

What is the RGB value of #d4d2af?

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

Is #d4d2af a light or a dark color?

It is a light color. Relative luminance is 0.6319 and perceived brightness is 81%, so black text on it reaches 13.64:1.

Should I use black or white text on #d4d2af?

Black. It scores 13.64:1 against #d4d2af, versus 1.54:1 for white — AAA at any size.

What is the complementary color of #d4d2af?

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

What colors go well with #d4d2af?

For interface work: #FAF9F5 as the surface, #E2E1CA for borders, #959250 for secondary text, #435789 as an accent and #53512D for hover and pressed states. For a palette, the analogous pair #D4C0AF and #C4D4AF stays calm, while #AFB1D4 is the loudest partner.

What is #d4d2af in CMYK for printing?

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

Is #d4d2af warm or cool?

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

Work with #d4d2af in the Color Lab