Skip to content

#dcc56b

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

RGB
220, 197, 107
HSL
48°, 62%, 64%
CMYK
0, 11, 51, 14
Luminance
0.5621

At a glance

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

Hex
#dcc56b
Hue
48°
yellow
Saturation
62%
vivid
Lightness
64%
balanced
Brightness
86%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5621
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.24:1
Closest name
Dark Khaki
ΔE2000 6.9
Where it sits
Hue48° of 360°
Saturation62%
Lightness64%
Temperature
Warm ← → Cool15% 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#dcc56b
RGBrgb(220, 197, 107)
HSLhsl(48, 62%, 64%)
CMYKcmyk(0%, 11%, 51%, 14%)
LABlab(79.7 -3.4 47.7)
LCHlch(79.7 47.8 94.0)
OKLCHoklch(0.824 0.114 95.4)
Decimal14468459
Display P3color(display-p3 0.863 0.773 0.420)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcc56b on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#dcc56b on black: 12.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5C163
deuteranopia · #DBC96F
tritanopia · #EBB9B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dcc56b 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
#F7F4E8
#F0E9CC
#EADBA4
#dcc56b
#D4B84A
#C6A72F
#A58B27
#846F1F
#60521A
#3C3311
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3C3311
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E8;
  --brand-200: #F0E9CC;
  --brand-300: #EADBA4;
  --brand-400: #dcc56b;
  --brand-500: #D4B84A;
  --brand-600: #C6A72F;
  --brand-700: #A58B27;
  --brand-800: #846F1F;
  --brand-900: #60521A;
  --brand-950: #3C3311;
  --brand: #dcc56b;
  --brand-ink: #000000;
}

Colors that work with #dcc56b

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#EDE4C0
Hairlines and dividers
Muted text#9B8B4B
Captions on the surface
Accent#2360A9
Second voice, not a rival
Dark variant#675718
Hover, pressed, headers
Light variant#FAF7EA
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 #dcc56b

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#6B82DC
Analogous left#DC8C6B
Analogous right#BADC6B
Split-complement 1#6BBADC
Split-complement 2#8C6BDC
Triadic 1#6BDCC5
Triadic 2#C56BDC
Tetradic#6BDC8C

RGB percentages

Red86.3%
Green77.3%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta10.5%
Yellow51.4%
Key (black)13.7%

Color previews

#dcc56b text on a black background

contrast 12.24:1

Card sample

#dcc56b text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcc56b

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.

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

#dcc56b, answered

What color is #dcc56b?

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

What is the RGB value of #dcc56b?

rgb(220, 197, 107) — 220 red, 197 green and 107 blue out of 255, or 86.3% / 77.3% / 42% by channel.

Is #dcc56b a light or a dark color?

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

Should I use black or white text on #dcc56b?

Black. It scores 12.24:1 against #dcc56b, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #dcc56b?

#6B82DC sits directly opposite on the wheel. Softer options are the split-complements #6BBADC and #8C6BDC, which give the same contrast with far less vibration.

What colors go well with #dcc56b?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8B4B for secondary text, #2360A9 as an accent and #675718 for hover and pressed states. For a palette, the analogous pair #DC8C6B and #BADC6B stays calm, while #6B82DC is the loudest partner.

What is #dcc56b in CMYK for printing?

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

Is #dcc56b warm or cool?

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

Work with #dcc56b in the Color Lab