Skip to content

#dccc73

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

RGB
220, 204, 115
HSL
51°, 60%, 66%
CMYK
0, 7, 48, 14
Luminance
0.5964

At a glance

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

Hex
#dccc73
Hue
51°
yellow
Saturation
60%
vivid
Lightness
66%
light
Brightness
86%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5964
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.93:1
Closest name
Khaki
ΔE2000 6
Where it sits
Hue51° of 360°
Saturation60%
Lightness66%
Temperature
Warm ← → Cool17% 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#dccc73
RGBrgb(220, 204, 115)
HSLhsl(51, 60%, 66%)
CMYKcmyk(0%, 7%, 48%, 14%)
LABlab(81.6 -6.2 46.1)
LCHlch(81.6 46.5 97.7)
OKLCHoklch(0.840 0.112 99.3)
Decimal14470259
Display P3color(display-p3 0.863 0.800 0.451)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccc73 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dccc73 on black: 12.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC76C
deuteranopia · #E0CE77
tritanopia · #EAC1B7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dccc73 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
#F7F5E9
#EFEACC
#E9DEA5
#dccc73
#D2BE4B
#C4AE31
#A39129
#837421
#5F551B
#3B3511
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3B3511
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E9;
  --brand-200: #EFEACC;
  --brand-300: #E9DEA5;
  --brand-400: #dccc73;
  --brand-500: #D2BE4B;
  --brand-600: #C4AE31;
  --brand-700: #A39129;
  --brand-800: #837421;
  --brand-900: #5F551B;
  --brand-950: #3B3511;
  --brand: #dccc73;
  --brand-ink: #000000;
}

Colors that work with #dccc73

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#EDE6C0
Hairlines and dividers
Muted text#9B8F4B
Captions on the surface
Accent#2459A8
Second voice, not a rival
Dark variant#665A1A
Hover, pressed, headers
Light variant#FAF8EB
Selected rows, tints
Dark surface#242214
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 #dccc73

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#7383DC
Analogous left#DC9873
Analogous right#B7DC73
Split-complement 1#73B7DC
Split-complement 2#9873DC
Triadic 1#73DCCC
Triadic 2#CC73DC
Tetradic#73DC98

RGB percentages

Red86.3%
Green80.0%
Blue45.1%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow47.7%
Key (black)13.7%

Color previews

#dccc73 text on a black background

contrast 12.93:1

Card sample

#dccc73 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccc73

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.

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

#dccc73, answered

What color is #dccc73?

#dccc73 is a light vivid yellow, closest to Khaki (ΔE2000 6). It sits at 51° on the hue wheel with 60% saturation and 66% lightness, which reads as warm.

What is the RGB value of #dccc73?

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

Is #dccc73 a light or a dark color?

It is a light color. Relative luminance is 0.5964 and perceived brightness is 79%, so black text on it reaches 12.93:1.

Should I use black or white text on #dccc73?

Black. It scores 12.93:1 against #dccc73, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #dccc73?

#7383DC sits directly opposite on the wheel. Softer options are the split-complements #73B7DC and #9873DC, which give the same contrast with far less vibration.

What colors go well with #dccc73?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8F4B for secondary text, #2459A8 as an accent and #665A1A for hover and pressed states. For a palette, the analogous pair #DC9873 and #B7DC73 stays calm, while #7383DC is the loudest partner.

What is #dccc73 in CMYK for printing?

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

Is #dccc73 warm or cool?

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

Work with #dccc73 in the Color Lab