Skip to content

#dfb95b

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

RGB
223, 185, 91
HSL
43°, 67%, 62%
CMYK
0, 17, 59, 13
Luminance
0.5114

At a glance

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

Hex
#dfb95b
Hue
43°
yellow
Saturation
67%
vivid
Lightness
62%
balanced
Brightness
87%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5114
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.23:1
Closest name
Goldenrod
ΔE2000 6.9
Where it sits
Hue43° of 360°
Saturation67%
Lightness62%
Temperature
Warm ← → Cool11% 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#dfb95b
RGBrgb(223, 185, 91)
HSLhsl(43, 67%, 62%)
CMYKcmyk(0%, 17%, 59%, 13%)
LABlab(76.8 2.9 51.9)
LCHlch(76.8 52.0 86.8)
OKLCHoklch(0.801 0.121 87.4)
Decimal14661979
Display P3color(display-p3 0.875 0.725 0.357)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb95b on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#dfb95b on black: 11.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCB752
deuteranopia · #D5C25F
tritanopia · #F0ABA4

Color scale — 50 to 950

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

#FBF9F3
#F8F3E8
#F1E6CA
#EDD7A1
#dfb95b
#DAAF43
#CD9D28
#AB8321
#89691B
#634D17
#3E300F
Base = 400Lightest = 50 · #FBF9F3Darkest = 950 · #3E300F
:root {
  --brand-50: #FBF9F3;
  --brand-100: #F8F3E8;
  --brand-200: #F1E6CA;
  --brand-300: #EDD7A1;
  --brand-400: #dfb95b;
  --brand-500: #DAAF43;
  --brand-600: #CD9D28;
  --brand-700: #AB8321;
  --brand-800: #89691B;
  --brand-900: #634D17;
  --brand-950: #3E300F;
  --brand: #dfb95b;
  --brand-ink: #000000;
}

Colors that work with #dfb95b

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#EDE0C0
Hairlines and dividers
Muted text#9B844B
Captions on the surface
Accent#1D6BAF
Second voice, not a rival
Dark variant#6B5215
Hover, pressed, headers
Light variant#FBF6EA
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 #dfb95b

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#5B81DF
Analogous left#DF775B
Analogous right#C3DF5B
Split-complement 1#5BC3DF
Split-complement 2#775BDF
Triadic 1#5BDFB9
Triadic 2#B95BDF
Tetradic#5BDF77

RGB percentages

Red87.5%
Green72.5%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow59.2%
Key (black)12.5%

Color previews

#dfb95b text on a black background

contrast 11.23:1

Card sample

#dfb95b text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb95b

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.

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

#dfb95b, answered

What color is #dfb95b?

#dfb95b is a balanced vivid yellow, closest to Goldenrod (ΔE2000 6.9). It sits at 43° on the hue wheel with 67% saturation and 62% lightness, which reads as warm.

What is the RGB value of #dfb95b?

rgb(223, 185, 91) — 223 red, 185 green and 91 blue out of 255, or 87.5% / 72.5% / 35.7% by channel.

Is #dfb95b a light or a dark color?

It is a light color. Relative luminance is 0.5114 and perceived brightness is 74%, so black text on it reaches 11.23:1.

Should I use black or white text on #dfb95b?

Black. It scores 11.23:1 against #dfb95b, versus 1.87:1 for white — AAA at any size.

What is the complementary color of #dfb95b?

#5B81DF sits directly opposite on the wheel. Softer options are the split-complements #5BC3DF and #775BDF, which give the same contrast with far less vibration.

What colors go well with #dfb95b?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B844B for secondary text, #1D6BAF as an accent and #6B5215 for hover and pressed states. For a palette, the analogous pair #DF775B and #C3DF5B stays calm, while #5B81DF is the loudest partner.

What is #dfb95b in CMYK for printing?

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

Is #dfb95b warm or cool?

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

Work with #dfb95b in the Color Lab