Skip to content

#dfcc8e

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

RGB
223, 204, 142
HSL
46°, 56%, 72%
CMYK
0, 9, 36, 13
Luminance
0.6083

At a glance

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

Hex
#dfcc8e
Hue
46°
yellow
Saturation
56%
vivid
Lightness
72%
light
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6083
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.17:1
Closest name
Wheat
ΔE2000 6.9
Where it sits
Hue46° of 360°
Saturation56%
Lightness72%
Temperature
Warm ← → Cool13% 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#dfcc8e
RGBrgb(223, 204, 142)
HSLhsl(46, 56%, 72%)
CMYKcmyk(0%, 9%, 36%, 13%)
LABlab(82.3 -2.2 33.3)
LCHlch(82.3 33.4 93.8)
OKLCHoklch(0.847 0.083 93.1)
Decimal14666894
Display P3color(display-p3 0.875 0.800 0.557)

Copy-ready code

/* CSS */
color: #dfcc8e;
background-color: #dfcc8e;
/* Tailwind (arbitrary) */
class="text-[#dfcc8e] bg-[#dfcc8e]"
/* SCSS */
$brand: #dfcc8e;
/* SwiftUI */
Color(red: 0.875, green: 0.800, blue: 0.557)
/* Android */
Color.parseColor("#dfcc8e")
/* Flutter */
Color(0xFFDFCC8E)
/* Python / OpenCV (BGR) */
(142, 204, 223)

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 #dfcc8e · 13.17:1
Use #000000AAA at every size.
Aa
White text · 1.60:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.17:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dfcc8e as text scores 1.60:1 on white and 13.17:1 on black.

Accessibility — WCAG contrast

Aa
#dfcc8e on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc8e on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9C98A
deuteranopia · #DECF90
tritanopia · #EBC3BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfcc8e 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.

#FBF9F4
#F6F3E9
#EEE6CE
#E6D8A8
#dfcc8e
#CEB050
#BF9F36
#9F842D
#7F6A24
#5D4E1E
#3A3113
Base = 400Lightest = 50 · #FBF9F4Darkest = 950 · #3A3113
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F6F3E9;
  --brand-200: #EEE6CE;
  --brand-300: #E6D8A8;
  --brand-400: #dfcc8e;
  --brand-500: #CEB050;
  --brand-600: #BF9F36;
  --brand-700: #9F842D;
  --brand-800: #7F6A24;
  --brand-900: #5D4E1E;
  --brand-950: #3A3113;
  --brand: #dfcc8e;
  --brand-ink: #000000;
}

Colors that work with #dfcc8e

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#EDE2C0
Hairlines and dividers
Muted text#9B884B
Captions on the surface
Accent#2964A3
Second voice, not a rival
Dark variant#63531C
Hover, pressed, headers
Light variant#F9F6EB
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 #dfcc8e

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#8EA1DF
Analogous left#DFA48E
Analogous right#CADF8E
Split-complement 1#8ECADF
Split-complement 2#A48EDF
Triadic 1#8EDFCC
Triadic 2#CC8EDF
Tetradic#8EDFA4

RGB percentages

Red87.5%
Green80.0%
Blue55.7%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow36.3%
Key (black)12.5%

Color previews

#dfcc8e text on a black background

contrast 13.17:1

Card sample

#dfcc8e text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc8e

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.

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

#dfcc8e, answered

What color is #dfcc8e?

#dfcc8e is a light vivid yellow, closest to Wheat (ΔE2000 6.9). It sits at 46° on the hue wheel with 56% saturation and 72% lightness, which reads as warm.

What is the RGB value of #dfcc8e?

rgb(223, 204, 142) — 223 red, 204 green and 142 blue out of 255, or 87.5% / 80% / 55.7% by channel.

Is #dfcc8e a light or a dark color?

It is a light color. Relative luminance is 0.6083 and perceived brightness is 80%, so black text on it reaches 13.17:1.

Should I use black or white text on #dfcc8e?

Black. It scores 13.17:1 against #dfcc8e, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #dfcc8e?

#8EA1DF sits directly opposite on the wheel. Softer options are the split-complements #8ECADF and #A48EDF, which give the same contrast with far less vibration.

What colors go well with #dfcc8e?

For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B884B for secondary text, #2964A3 as an accent and #63531C for hover and pressed states. For a palette, the analogous pair #DFA48E and #CADF8E stays calm, while #8EA1DF is the loudest partner.

What is #dfcc8e in CMYK for printing?

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

Is #dfcc8e warm or cool?

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

Work with #dfcc8e in the Color Lab