Skip to content

#dccc97

a light, vivid yellow · warm · closest name: Wheat

RGB
220, 204, 151
HSL
46°, 50%, 73%
CMYK
0, 7, 31, 14
Luminance
0.6064

At a glance

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

Hex
#dccc97
Hue
46°
yellow
Saturation
50%
vivid
Lightness
73%
light
Brightness
86%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6064
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.13:1
Closest name
Wheat
ΔE2000 6.1
Where it sits
Hue46° of 360°
Saturation50%
Lightness73%
Temperature
Warm ← → Cool13% 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#dccc97
RGBrgb(220, 204, 151)
HSLhsl(46, 50%, 73%)
CMYKcmyk(0%, 7%, 31%, 14%)
LABlab(82.2 -2.3 28.5)
LCHlch(82.2 28.6 94.6)
OKLCHoklch(0.846 0.071 93.3)
Decimal14470295
Display P3color(display-p3 0.863 0.800 0.592)

Copy-ready code

/* CSS */
color: #dccc97;
background-color: #dccc97;
/* Tailwind (arbitrary) */
class="text-[#dccc97] bg-[#dccc97]"
/* SCSS */
$brand: #dccc97;
/* SwiftUI */
Color(red: 0.863, green: 0.800, blue: 0.592)
/* Android */
Color.parseColor("#dccc97")
/* Flutter */
Color(0xFFDCCC97)
/* Python / OpenCV (BGR) */
(151, 204, 220)

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

Accessibility — WCAG contrast

Aa
#dccc97 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dccc97 on black: 13.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7CA93
deuteranopia · #DBCF99
tritanopia · #E7C4BE

Color scale — 50 to 950

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

#FAF9F4
#F6F3EA
#ECE6CF
#dccc97
#D5C181
#C6AD57
#B79B3E
#998133
#7A6729
#594C21
#383015
Base = 300Lightest = 50 · #FAF9F4Darkest = 950 · #383015
:root {
  --brand-50: #FAF9F4;
  --brand-100: #F6F3EA;
  --brand-200: #ECE6CF;
  --brand-300: #dccc97;
  --brand-400: #D5C181;
  --brand-500: #C6AD57;
  --brand-600: #B79B3E;
  --brand-700: #998133;
  --brand-800: #7A6729;
  --brand-900: #594C21;
  --brand-950: #383015;
  --brand: #dccc97;
  --brand-ink: #000000;
}

Colors that work with #dccc97

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#FAF9F4
Tinted page background
Border#EAE1C2
Hairlines and dividers
Muted text#9B884B
Captions on the surface
Accent#2F649D
Second voice, not a rival
Dark variant#5F5120
Hover, pressed, headers
Light variant#F9F6EC
Selected rows, tints
Dark surface#242114
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 #dccc97

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#97A7DC
Analogous left#DCA997
Analogous right#C9DC97
Split-complement 1#97C9DC
Split-complement 2#A997DC
Triadic 1#97DCCC
Triadic 2#CC97DC
Tetradic#97DCA9

RGB percentages

Red86.3%
Green80.0%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow31.4%
Key (black)13.7%

Color previews

#dccc97 text on a black background

contrast 13.13:1

Card sample

#dccc97 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 204, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 204, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dccc97;
background: linear-gradient(135deg, #dccc97, #BEDC97);

Monochromatic scale

Palettes built from #dccc97

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.

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

#dccc97, answered

What color is #dccc97?

#dccc97 is a light vivid yellow, closest to Wheat (ΔE2000 6.1). It sits at 46° on the hue wheel with 50% saturation and 73% lightness, which reads as warm.

What is the RGB value of #dccc97?

rgb(220, 204, 151) — 220 red, 204 green and 151 blue out of 255, or 86.3% / 80% / 59.2% by channel.

Is #dccc97 a light or a dark color?

It is a light color. Relative luminance is 0.6064 and perceived brightness is 80%, so black text on it reaches 13.13:1.

Should I use black or white text on #dccc97?

Black. It scores 13.13:1 against #dccc97, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #dccc97?

#97A7DC sits directly opposite on the wheel. Softer options are the split-complements #97C9DC and #A997DC, which give the same contrast with far less vibration.

What colors go well with #dccc97?

For interface work: #FAF9F4 as the surface, #EAE1C2 for borders, #9B884B for secondary text, #2F649D as an accent and #5F5120 for hover and pressed states. For a palette, the analogous pair #DCA997 and #C9DC97 stays calm, while #97A7DC is the loudest partner.

What is #dccc97 in CMYK for printing?

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

Is #dccc97 warm or cool?

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

Work with #dccc97 in the Color Lab