Skip to content

#dfaa3b

a balanced, vivid yellow · warm · closest name: Goldenrod

RGB
223, 170, 59
HSL
41°, 72%, 55%
CMYK
0, 24, 74, 13
Luminance
0.4475

At a glance

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

Hex
#dfaa3b
Hue
41°
yellow
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4475
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.95:1
Closest name
Goldenrod
ΔE2000 2.4
Where it sits
Hue41° of 360°
Saturation72%
Lightness55%
Temperature
Warm ← → Cool9% 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#dfaa3b
RGBrgb(223, 170, 59)
HSLhsl(41, 72%, 55%)
CMYKcmyk(0%, 24%, 74%, 13%)
LABlab(72.7 9.0 61.6)
LCHlch(72.7 62.3 81.7)
OKLCHoklch(0.768 0.138 82.0)
Decimal14658107
Display P3color(display-p3 0.875 0.667 0.231)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfaa3b on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#dfaa3b on black: 9.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0AB2B
deuteranopia · #CCB840
tritanopia · #F29A94

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfaa3b is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF9F3
#F8F3E7
#F3E5C9
#EFD59F
#E7C06E
#dfaa3b
#D29922
#AF801D
#8C6617
#664C15
#402F0D
Base = 500Lightest = 50 · #FCF9F3Darkest = 950 · #402F0D
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F8F3E7;
  --brand-200: #F3E5C9;
  --brand-300: #EFD59F;
  --brand-400: #E7C06E;
  --brand-500: #dfaa3b;
  --brand-600: #D29922;
  --brand-700: #AF801D;
  --brand-800: #8C6617;
  --brand-900: #664C15;
  --brand-950: #402F0D;
  --brand: #dfaa3b;
  --brand-ink: #000000;
}

Colors that work with #dfaa3b

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#FAF8F4
Tinted page background
Border#EDDEC0
Hairlines and dividers
Muted text#9B814B
Captions on the surface
Accent#1871B4
Second voice, not a rival
Dark variant#6E5012
Hover, pressed, headers
Light variant#FBF5E9
Selected rows, tints
Dark surface#241F14
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 #dfaa3b

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#3B70DF
Analogous left#DF583B
Analogous right#C2DF3B
Split-complement 1#3BC2DF
Split-complement 2#583BDF
Triadic 1#3BDFAA
Triadic 2#AA3BDF
Tetradic#3BDF58

RGB percentages

Red87.5%
Green66.7%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta23.8%
Yellow73.5%
Key (black)12.5%

Color previews

#dfaa3b text on a black background

contrast 9.95:1

Card sample

#dfaa3b text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfaa3b

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.

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

#dfaa3b, answered

What color is #dfaa3b?

#dfaa3b is a balanced vivid yellow, closest to Goldenrod (ΔE2000 2.4). It sits at 41° on the hue wheel with 72% saturation and 55% lightness, which reads as warm.

What is the RGB value of #dfaa3b?

rgb(223, 170, 59) — 223 red, 170 green and 59 blue out of 255, or 87.5% / 66.7% / 23.1% by channel.

Is #dfaa3b a light or a dark color?

It is a mid-tone. Relative luminance is 0.4475 and perceived brightness is 70%, so black text on it reaches 9.95:1.

Should I use black or white text on #dfaa3b?

Black. It scores 9.95:1 against #dfaa3b, versus 2.11:1 for white — AAA at any size.

What is the complementary color of #dfaa3b?

#3B70DF sits directly opposite on the wheel. Softer options are the split-complements #3BC2DF and #583BDF, which give the same contrast with far less vibration.

What colors go well with #dfaa3b?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B814B for secondary text, #1871B4 as an accent and #6E5012 for hover and pressed states. For a palette, the analogous pair #DF583B and #C2DF3B stays calm, while #3B70DF is the loudest partner.

What is #dfaa3b in CMYK for printing?

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

Is #dfaa3b warm or cool?

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

Work with #dfaa3b in the Color Lab