Skip to content

#dccc77

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

RGB
220, 204, 119
HSL
51°, 59%, 67%
CMYK
0, 7, 46, 14
Luminance
0.5973

At a glance

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

Hex
#dccc77
Hue
51°
yellow
Saturation
59%
vivid
Lightness
67%
light
Brightness
86%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5973
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.95:1
Closest name
Khaki
ΔE2000 6
Where it sits
Hue51° of 360°
Saturation59%
Lightness67%
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#dccc77
RGBrgb(220, 204, 119)
HSLhsl(51, 59%, 67%)
CMYKcmyk(0%, 7%, 46%, 14%)
LABlab(81.7 -5.9 44.2)
LCHlch(81.7 44.6 97.6)
OKLCHoklch(0.840 0.108 98.9)
Decimal14470263
Display P3color(display-p3 0.863 0.800 0.467)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccc77 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dccc77 on black: 12.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC870
deuteranopia · #DFCE7A
tritanopia · #EAC1B8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dccc77 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
#EFEACD
#E8DEA6
#dccc77
#D1BC4C
#C3AC32
#A28F2A
#827321
#5E541C
#3B3411
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3B3411
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E9;
  --brand-200: #EFEACD;
  --brand-300: #E8DEA6;
  --brand-400: #dccc77;
  --brand-500: #D1BC4C;
  --brand-600: #C3AC32;
  --brand-700: #A28F2A;
  --brand-800: #827321;
  --brand-900: #5E541C;
  --brand-950: #3B3411;
  --brand: #dccc77;
  --brand-ink: #000000;
}

Colors that work with #dccc77

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#9B8E4B
Captions on the surface
Accent#265BA6
Second voice, not a rival
Dark variant#65591A
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 #dccc77

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#7787DC
Analogous left#DC9A77
Analogous right#BADC77
Split-complement 1#77BADC
Split-complement 2#9A77DC
Triadic 1#77DCCC
Triadic 2#CC77DC
Tetradic#77DC9A

RGB percentages

Red86.3%
Green80.0%
Blue46.7%

CMYK percentages

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

Color previews

#dccc77 text on a black background

contrast 12.95:1

Card sample

#dccc77 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccc77

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.

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

#dccc77, answered

What color is #dccc77?

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

What is the RGB value of #dccc77?

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

Is #dccc77 a light or a dark color?

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

Should I use black or white text on #dccc77?

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

What is the complementary color of #dccc77?

#7787DC sits directly opposite on the wheel. Softer options are the split-complements #77BADC and #9A77DC, which give the same contrast with far less vibration.

What colors go well with #dccc77?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8E4B for secondary text, #265BA6 as an accent and #65591A for hover and pressed states. For a palette, the analogous pair #DC9A77 and #BADC77 stays calm, while #7787DC is the loudest partner.

What is #dccc77 in CMYK for printing?

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

Is #dccc77 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 #DCAF77; nudged cooler, #C8DE75.

Work with #dccc77 in the Color Lab