Skip to content

#dccc56

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

RGB
220, 204, 86
HSL
53°, 66%, 60%
CMYK
0, 7, 61, 14
Luminance
0.5907

At a glance

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

Hex
#dccc56
Hue
53°
yellow
Saturation
66%
vivid
Lightness
60%
balanced
Brightness
86%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5907
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.81:1
Closest name
Khaki
ΔE2000 7.4
Where it sits
Hue53° of 360°
Saturation66%
Lightness60%
Temperature
Warm ← → Cool19% 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#dccc56
RGBrgb(220, 204, 86)
HSLhsl(53, 66%, 60%)
CMYKcmyk(0%, 7%, 61%, 14%)
LABlab(81.3 -8.5 59.2)
LCHlch(81.3 59.8 98.2)
OKLCHoklch(0.836 0.139 101.6)
Decimal14470230
Display P3color(display-p3 0.863 0.800 0.337)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccc56 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#dccc56 on black: 12.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDC649
deuteranopia · #E2CD5C
tritanopia · #ECBFB3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dccc56 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFAF3
#F8F6E8
#F1ECCB
#ECE3A2
#E2D574
#dccc56
#CBB82A
#A99923
#877A1C
#625918
#3D380F
Base = 500Lightest = 50 · #FBFAF3Darkest = 950 · #3D380F
:root {
  --brand-50: #FBFAF3;
  --brand-100: #F8F6E8;
  --brand-200: #F1ECCB;
  --brand-300: #ECE3A2;
  --brand-400: #E2D574;
  --brand-500: #dccc56;
  --brand-600: #CBB82A;
  --brand-700: #A99923;
  --brand-800: #877A1C;
  --brand-900: #625918;
  --brand-950: #3D380F;
  --brand: #dccc56;
  --brand-ink: #000000;
}

Colors that work with #dccc56

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#EDE7C0
Hairlines and dividers
Muted text#9B914B
Captions on the surface
Accent#5287E0
Second voice, not a rival
Dark variant#6A6016
Hover, pressed, headers
Light variant#FBF9EA
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 #dccc56

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#5666DC
Analogous left#DC8956
Analogous right#A9DC56
Split-complement 1#56A9DC
Split-complement 2#8956DC
Triadic 1#56DCCC
Triadic 2#CC56DC
Tetradic#56DC89

RGB percentages

Red86.3%
Green80.0%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow60.9%
Key (black)13.7%

Color previews

#dccc56 text on a black background

contrast 12.81:1

Card sample

#dccc56 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccc56

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.

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

#dccc56, answered

What color is #dccc56?

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

What is the RGB value of #dccc56?

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

Is #dccc56 a light or a dark color?

It is a light color. Relative luminance is 0.5907 and perceived brightness is 78%, so black text on it reaches 12.81:1.

Should I use black or white text on #dccc56?

Black. It scores 12.81:1 against #dccc56, versus 1.64:1 for white — AAA at any size.

What is the complementary color of #dccc56?

#5666DC sits directly opposite on the wheel. Softer options are the split-complements #56A9DC and #8956DC, which give the same contrast with far less vibration.

What colors go well with #dccc56?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B914B for secondary text, #5287E0 as an accent and #6A6016 for hover and pressed states. For a palette, the analogous pair #DC8956 and #A9DC56 stays calm, while #5666DC is the loudest partner.

What is #dccc56 in CMYK for printing?

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

Is #dccc56 warm or cool?

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

Work with #dccc56 in the Color Lab