Skip to content

#dfbd0d

a balanced, electric yellow · warm · closest name: Gold

RGB
223, 189, 13
HSL
50°, 89%, 46%
CMYK
0, 15, 94, 13
Luminance
0.5211

At a glance

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

Hex
#dfbd0d
Hue
50°
yellow
Saturation
89%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5211
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.42:1
Closest name
Gold
ΔE2000 6.8
Where it sits
Hue50° of 360°
Saturation89%
Lightness46%
Temperature
Warm ← → Cool17% 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#dfbd0d
RGBrgb(223, 189, 13)
HSLhsl(50, 89%, 46%)
CMYKcmyk(0%, 15%, 94%, 13%)
LABlab(77.3 -2.3 77.6)
LCHlch(77.3 77.7 91.7)
OKLCHoklch(0.804 0.164 95.7)
Decimal14662925
Display P3color(display-p3 0.875 0.741 0.051)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbd0d on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#dfbd0d on black: 11.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2B900
deuteranopia · #DBC423
tritanopia · #F2ADA1

Color scale — 50 to 950

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

#FDFBF2
#FBF7E5
#F8F0C4
#F9E995
#F6DE60
#F3D22B
#dfbd0d
#C1A30B
#9A8309
#6F5F0B
#463B07
Base = 600Lightest = 50 · #FDFBF2Darkest = 950 · #463B07
:root {
  --brand-50: #FDFBF2;
  --brand-100: #FBF7E5;
  --brand-200: #F8F0C4;
  --brand-300: #F9E995;
  --brand-400: #F6DE60;
  --brand-500: #F3D22B;
  --brand-600: #dfbd0d;
  --brand-700: #C1A30B;
  --brand-800: #9A8309;
  --brand-900: #6F5F0B;
  --brand-950: #463B07;
  --brand: #dfbd0d;
  --brand-ink: #000000;
}

Colors that work with #dfbd0d

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#EDE5C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#0863E4
Second voice, not a rival
Dark variant#786607
Hover, pressed, headers
Light variant#FEFAE7
Selected rows, tints
Dark surface#242214
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 #dfbd0d

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#0D2FDF
Analogous left#DF540D
Analogous right#98DF0D
Split-complement 1#0D98DF
Split-complement 2#540DDF
Triadic 1#0DDFBD
Triadic 2#BD0DDF
Tetradic#0DDF54

RGB percentages

Red87.5%
Green74.1%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta15.2%
Yellow94.2%
Key (black)12.5%

Color previews

#dfbd0d text on a black background

contrast 11.42:1

Card sample

#dfbd0d text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 189, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 189, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbd0d;
background: linear-gradient(135deg, #dfbd0d, #75DF0D);

Monochromatic scale

Palettes built from #dfbd0d

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.

#dfbd0d 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#dfbd0d, answered

What color is #dfbd0d?

#dfbd0d is a balanced electric yellow, closest to Gold (ΔE2000 6.8). It sits at 50° on the hue wheel with 89% saturation and 46% lightness, which reads as warm.

What is the RGB value of #dfbd0d?

rgb(223, 189, 13) — 223 red, 189 green and 13 blue out of 255, or 87.5% / 74.1% / 5.1% by channel.

Is #dfbd0d a light or a dark color?

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

Should I use black or white text on #dfbd0d?

Black. It scores 11.42:1 against #dfbd0d, versus 1.84:1 for white — AAA at any size.

What is the complementary color of #dfbd0d?

#0D2FDF sits directly opposite on the wheel. Softer options are the split-complements #0D98DF and #540DDF, which give the same contrast with far less vibration.

What colors go well with #dfbd0d?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8E4B for secondary text, #0863E4 as an accent and #786607 for hover and pressed states. For a palette, the analogous pair #DF540D and #98DF0D stays calm, while #0D2FDF is the loudest partner.

What is #dfbd0d in CMYK for printing?

cmyk(0%, 15%, 94%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #dfbd0d warm or cool?

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

Work with #dfbd0d in the Color Lab