Skip to content

#dfc577

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

RGB
223, 197, 119
HSL
45°, 62%, 67%
CMYK
0, 12, 47, 13
Luminance
0.5695

At a glance

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

Hex
#dfc577
Hue
45°
yellow
Saturation
62%
vivid
Lightness
67%
light
Brightness
87%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5695
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.39:1
Closest name
Dark Khaki
ΔE2000 7.5
Where it sits
Hue45° of 360°
Saturation62%
Lightness67%
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#dfc577
RGBrgb(223, 197, 119)
HSLhsl(45, 62%, 67%)
CMYKcmyk(0%, 12%, 47%, 13%)
LABlab(80.2 -1.0 42.3)
LCHlch(80.2 42.3 91.4)
OKLCHoklch(0.829 0.102 91.6)
Decimal14665079
Display P3color(display-p3 0.875 0.773 0.467)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfc577 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#dfc577 on black: 12.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5C271
deuteranopia · #DBCA7A
tritanopia · #EDBAB2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfc577 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
#F7F3E8
#F0E7CC
#EAD8A4
#dfc577
#D4B249
#C6A02F
#A58627
#846B1F
#604F1A
#3C3110
Base = 400Lightest = 50 · #FBF9F4Darkest = 950 · #3C3110
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F3E8;
  --brand-200: #F0E7CC;
  --brand-300: #EAD8A4;
  --brand-400: #dfc577;
  --brand-500: #D4B249;
  --brand-600: #C6A02F;
  --brand-700: #A58627;
  --brand-800: #846B1F;
  --brand-900: #604F1A;
  --brand-950: #3C3110;
  --brand: #dfc577;
  --brand-ink: #000000;
}

Colors that work with #dfc577

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#EDE1C0
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#2366A9
Second voice, not a rival
Dark variant#675318
Hover, pressed, headers
Light variant#FAF6EA
Selected rows, tints
Dark surface#242014
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 #dfc577

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#7791DF
Analogous left#DF9177
Analogous right#C5DF77
Split-complement 1#77C5DF
Split-complement 2#9177DF
Triadic 1#77DFC5
Triadic 2#C577DF
Tetradic#77DF91

RGB percentages

Red87.5%
Green77.3%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta11.7%
Yellow46.6%
Key (black)12.5%

Color previews

#dfc577 text on a black background

contrast 12.39:1

Card sample

#dfc577 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfc577

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.

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

#dfc577, answered

What color is #dfc577?

#dfc577 is a light vivid yellow, closest to Dark Khaki (ΔE2000 7.5). It sits at 45° on the hue wheel with 62% saturation and 67% lightness, which reads as warm.

What is the RGB value of #dfc577?

rgb(223, 197, 119) — 223 red, 197 green and 119 blue out of 255, or 87.5% / 77.3% / 46.7% by channel.

Is #dfc577 a light or a dark color?

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

Should I use black or white text on #dfc577?

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

What is the complementary color of #dfc577?

#7791DF sits directly opposite on the wheel. Softer options are the split-complements #77C5DF and #9177DF, which give the same contrast with far less vibration.

What colors go well with #dfc577?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B874B for secondary text, #2366A9 as an accent and #675318 for hover and pressed states. For a palette, the analogous pair #DF9177 and #C5DF77 stays calm, while #7791DF is the loudest partner.

What is #dfc577 in CMYK for printing?

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

Is #dfc577 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 #DFAE77; nudged cooler, #D4E175.

Work with #dfc577 in the Color Lab