Skip to content

#d2cc69

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

RGB
210, 204, 105
HSL
57°, 54%, 62%
CMYK
0, 3, 50, 18
Luminance
0.5791

At a glance

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

Hex
#d2cc69
Hue
57°
yellow
Saturation
54%
vivid
Lightness
62%
balanced
Brightness
82%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5791
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.58:1
Closest name
Dark Khaki
ΔE2000 6.3
Where it sits
Hue57° of 360°
Saturation54%
Lightness62%
Temperature
Warm ← → Cool22% 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#d2cc69
RGBrgb(210, 204, 105)
HSLhsl(57, 54%, 62%)
CMYKcmyk(0%, 3%, 50%, 18%)
LABlab(80.7 -11.2 49.6)
LCHlch(80.7 50.8 102.7)
OKLCHoklch(0.830 0.122 105.6)
Decimal13814889
Display P3color(display-p3 0.824 0.800 0.412)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cc69 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#d2cc69 on black: 12.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC660
deuteranopia · #DDCA6E
tritanopia · #DFC1B5

Color scale — 50 to 950

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

#FBFAF4
#F6F5E9
#EEECCE
#E5E2A9
#d2cc69
#CBC452
#BCB539
#9D972F
#7E7926
#5B581F
#393713
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #393713
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F5E9;
  --brand-200: #EEECCE;
  --brand-300: #E5E2A9;
  --brand-400: #d2cc69;
  --brand-500: #CBC452;
  --brand-600: #BCB539;
  --brand-700: #9D972F;
  --brand-800: #7E7926;
  --brand-900: #5B581F;
  --brand-950: #393713;
  --brand: #d2cc69;
  --brand-ink: #000000;
}

Colors that work with #d2cc69

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#ECEAC0
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#6588D6
Second voice, not a rival
Dark variant#625E1D
Hover, pressed, headers
Light variant#F9F8EB
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 #d2cc69

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
  • 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
  • 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#696FD2
Analogous left#D29869
Analogous right#A4D269
Split-complement 1#69A4D2
Split-complement 2#9869D2
Triadic 1#69D2CC
Triadic 2#CC69D2
Tetradic#69D298

RGB percentages

Red82.4%
Green80.0%
Blue41.2%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow50.0%
Key (black)17.6%

Color previews

#d2cc69 text on a black background

contrast 12.58:1

Card sample

#d2cc69 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 204, 105, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 204, 105, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2cc69;
background: linear-gradient(135deg, #d2cc69, #92D269);

Monochromatic scale

Palettes built from #d2cc69

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.

#d2cc69 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#d2cc69, answered

What color is #d2cc69?

#d2cc69 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.3). It sits at 57° on the hue wheel with 54% saturation and 62% lightness, which reads as warm.

What is the RGB value of #d2cc69?

rgb(210, 204, 105) — 210 red, 204 green and 105 blue out of 255, or 82.4% / 80% / 41.2% by channel.

Is #d2cc69 a light or a dark color?

It is a light color. Relative luminance is 0.5791 and perceived brightness is 77%, so black text on it reaches 12.58:1.

Should I use black or white text on #d2cc69?

Black. It scores 12.58:1 against #d2cc69, versus 1.67:1 for white — AAA at any size.

What is the complementary color of #d2cc69?

#696FD2 sits directly opposite on the wheel. Softer options are the split-complements #69A4D2 and #9869D2, which give the same contrast with far less vibration.

What colors go well with #d2cc69?

For interface work: #FAFAF4 as the surface, #ECEAC0 for borders, #9B964B for secondary text, #6588D6 as an accent and #625E1D for hover and pressed states. For a palette, the analogous pair #D29869 and #A4D269 stays calm, while #696FD2 is the loudest partner.

What is #d2cc69 in CMYK for printing?

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

Is #d2cc69 warm or cool?

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

Work with #d2cc69 in the Color Lab