Skip to content

#dcc76f

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

RGB
220, 199, 111
HSL
48°, 61%, 65%
CMYK
0, 10, 50, 14
Luminance
0.5721

At a glance

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

Hex
#dcc76f
Hue
48°
yellow
Saturation
61%
vivid
Lightness
65%
balanced
Brightness
86%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5721
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.44:1
Closest name
Dark Khaki
ΔE2000 6.7
Where it sits
Hue48° of 360°
Saturation61%
Lightness65%
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#dcc76f
RGBrgb(220, 199, 111)
HSLhsl(48, 61%, 65%)
CMYKcmyk(0%, 10%, 50%, 14%)
LABlab(80.3 -4.0 46.4)
LCHlch(80.3 46.6 95.0)
OKLCHoklch(0.829 0.111 96.3)
Decimal14468975
Display P3color(display-p3 0.863 0.780 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcc76f on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#dcc76f on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7C367
deuteranopia · #DCCA73
tritanopia · #EABBB2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dcc76f 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
#E9DCA5
#dcc76f
#D3B94A
#C5A830
#A48C28
#837020
#5F521B
#3C3311
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3C3311
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E8;
  --brand-200: #F0E9CC;
  --brand-300: #E9DCA5;
  --brand-400: #dcc76f;
  --brand-500: #D3B94A;
  --brand-600: #C5A830;
  --brand-700: #A48C28;
  --brand-800: #837020;
  --brand-900: #5F521B;
  --brand-950: #3C3311;
  --brand: #dcc76f;
  --brand-ink: #000000;
}

Colors that work with #dcc76f

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#235FA9
Second voice, not a rival
Dark variant#675819
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 #dcc76f

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#6F84DC
Analogous left#DC906F
Analogous right#BBDC6F
Split-complement 1#6FBBDC
Split-complement 2#906FDC
Triadic 1#6FDCC7
Triadic 2#C76FDC
Tetradic#6FDC90

RGB percentages

Red86.3%
Green78.0%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta9.5%
Yellow49.5%
Key (black)13.7%

Color previews

#dcc76f text on a black background

contrast 12.44:1

Card sample

#dcc76f text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcc76f

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.

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

#dcc76f, answered

What color is #dcc76f?

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

What is the RGB value of #dcc76f?

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

Is #dcc76f a light or a dark color?

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

Should I use black or white text on #dcc76f?

Black. It scores 12.44:1 against #dcc76f, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #dcc76f?

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

What colors go well with #dcc76f?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8B4B for secondary text, #235FA9 as an accent and #675819 for hover and pressed states. For a palette, the analogous pair #DC906F and #BBDC6F stays calm, while #6F84DC is the loudest partner.

What is #dcc76f in CMYK for printing?

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

Is #dcc76f 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 #DCAB6F; nudged cooler, #CADE6D.

Work with #dcc76f in the Color Lab