Skip to content

#dccc6f

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

RGB
220, 204, 111
HSL
51°, 61%, 65%
CMYK
0, 7, 50, 14
Luminance
0.5955

At a glance

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

Hex
#dccc6f
Hue
51°
yellow
Saturation
61%
vivid
Lightness
65%
balanced
Brightness
86%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5955
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.91:1
Closest name
Khaki
ΔE2000 6.1
Where it sits
Hue51° of 360°
Saturation61%
Lightness65%
Temperature
Warm ← → Cool18% 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#dccc6f
RGBrgb(220, 204, 111)
HSLhsl(51, 61%, 65%)
CMYKcmyk(0%, 7%, 50%, 14%)
LABlab(81.6 -6.6 48.0)
LCHlch(81.6 48.4 97.8)
OKLCHoklch(0.839 0.116 99.7)
Decimal14470255
Display P3color(display-p3 0.863 0.800 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccc6f on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#dccc6f on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC767
deuteranopia · #E0CE73
tritanopia · #EAC0B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dccc6f 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
#F7F5E8
#F0EACC
#E9DFA5
#dccc6f
#D3BF4A
#C5AF30
#A49228
#837520
#5F551B
#3C3511
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3C3511
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E8;
  --brand-200: #F0EACC;
  --brand-300: #E9DFA5;
  --brand-400: #dccc6f;
  --brand-500: #D3BF4A;
  --brand-600: #C5AF30;
  --brand-700: #A49228;
  --brand-800: #837520;
  --brand-900: #5F551B;
  --brand-950: #3C3511;
  --brand: #dccc6f;
  --brand-ink: #000000;
}

Colors that work with #dccc6f

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#EDE6C0
Hairlines and dividers
Muted text#9B8F4B
Captions on the surface
Accent#2358A9
Second voice, not a rival
Dark variant#675B19
Hover, pressed, headers
Light variant#FAF8EA
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 #dccc6f

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#6F7FDC
Analogous left#DC966F
Analogous right#B5DC6F
Split-complement 1#6FB5DC
Split-complement 2#966FDC
Triadic 1#6FDCCC
Triadic 2#CC6FDC
Tetradic#6FDC96

RGB percentages

Red86.3%
Green80.0%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow49.5%
Key (black)13.7%

Color previews

#dccc6f text on a black background

contrast 12.91:1

Card sample

#dccc6f text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccc6f

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.

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

#dccc6f, answered

What color is #dccc6f?

#dccc6f is a balanced vivid yellow, closest to Khaki (ΔE2000 6.1). It sits at 51° on the hue wheel with 61% saturation and 65% lightness, which reads as warm.

What is the RGB value of #dccc6f?

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

Is #dccc6f a light or a dark color?

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

Should I use black or white text on #dccc6f?

Black. It scores 12.91:1 against #dccc6f, versus 1.63:1 for white — AAA at any size.

What is the complementary color of #dccc6f?

#6F7FDC sits directly opposite on the wheel. Softer options are the split-complements #6FB5DC and #966FDC, which give the same contrast with far less vibration.

What colors go well with #dccc6f?

For interface work: #FAFAF4 as the surface, #EDE6C0 for borders, #9B8F4B for secondary text, #2358A9 as an accent and #675B19 for hover and pressed states. For a palette, the analogous pair #DC966F and #B5DC6F stays calm, while #6F7FDC is the loudest partner.

What is #dccc6f in CMYK for printing?

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

Is #dccc6f warm or cool?

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

Work with #dccc6f in the Color Lab