Skip to content

#dccc7c

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

RGB
220, 204, 124
HSL
50°, 58%, 68%
CMYK
0, 7, 44, 14
Luminance
0.5986

At a glance

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

Hex
#dccc7c
Hue
50°
yellow
Saturation
58%
vivid
Lightness
68%
light
Brightness
86%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5986
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.97:1
Closest name
Khaki
ΔE2000 6.1
Where it sits
Hue50° of 360°
Saturation58%
Lightness68%
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#dccc7c
RGBrgb(220, 204, 124)
HSLhsl(50, 58%, 68%)
CMYKcmyk(0%, 7%, 44%, 14%)
LABlab(81.8 -5.4 41.8)
LCHlch(81.8 42.1 97.3)
OKLCHoklch(0.841 0.102 98.3)
Decimal14470268
Display P3color(display-p3 0.863 0.800 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccc7c on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dccc7c on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC876
deuteranopia · #DFCE7F
tritanopia · #E9C1B8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dccc7c 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
#F7F4E9
#EFE9CD
#E7DDA6
#dccc7c
#D0BA4E
#C1AA34
#A18D2B
#817122
#5E531D
#3B3412
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3B3412
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E9;
  --brand-200: #EFE9CD;
  --brand-300: #E7DDA6;
  --brand-400: #dccc7c;
  --brand-500: #D0BA4E;
  --brand-600: #C1AA34;
  --brand-700: #A18D2B;
  --brand-800: #817122;
  --brand-900: #5E531D;
  --brand-950: #3B3412;
  --brand: #dccc7c;
  --brand-ink: #000000;
}

Colors that work with #dccc7c

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#EDE5C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#275CA5
Second voice, not a rival
Dark variant#65581B
Hover, pressed, headers
Light variant#FAF7EB
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 #dccc7c

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#7C8CDC
Analogous left#DC9C7C
Analogous right#BCDC7C
Split-complement 1#7CBCDC
Split-complement 2#9C7CDC
Triadic 1#7CDCCC
Triadic 2#CC7CDC
Tetradic#7CDC9C

RGB percentages

Red86.3%
Green80.0%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow43.6%
Key (black)13.7%

Color previews

#dccc7c text on a black background

contrast 12.97:1

Card sample

#dccc7c text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccc7c

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.

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

#dccc7c, answered

What color is #dccc7c?

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

What is the RGB value of #dccc7c?

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

Is #dccc7c a light or a dark color?

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

Should I use black or white text on #dccc7c?

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

What is the complementary color of #dccc7c?

#7C8CDC sits directly opposite on the wheel. Softer options are the split-complements #7CBCDC and #9C7CDC, which give the same contrast with far less vibration.

What colors go well with #dccc7c?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8E4B for secondary text, #275CA5 as an accent and #65581B for hover and pressed states. For a palette, the analogous pair #DC9C7C and #BCDC7C stays calm, while #7C8CDC is the loudest partner.

What is #dccc7c in CMYK for printing?

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

Is #dccc7c 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 #DCB07C; nudged cooler, #CADE7B.

Work with #dccc7c in the Color Lab