Skip to content

#dbac0d

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

RGB
219, 172, 13
HSL
46°, 89%, 46%
CMYK
0, 22, 94, 14
Luminance
0.4459

At a glance

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

Hex
#dbac0d
Hue
46°
yellow
Saturation
89%
electric
Lightness
46%
balanced
Brightness
86%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4459
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
9.92:1
Closest name
Goldenrod
ΔE2000 3.1
Where it sits
Hue46° of 360°
Saturation89%
Lightness46%
Temperature
Warm ← → Cool14% 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#dbac0d
RGBrgb(219, 172, 13)
HSLhsl(46, 89%, 46%)
CMYKcmyk(0%, 22%, 94%, 14%)
LABlab(72.6 4.9 74.0)
LCHlch(72.6 74.1 86.2)
OKLCHoklch(0.766 0.154 88.5)
Decimal14396429
Display P3color(display-p3 0.859 0.675 0.051)

Copy-ready code

/* CSS */
color: #dbac0d;
background-color: #dbac0d;
/* Tailwind (arbitrary) */
class="text-[#dbac0d] bg-[#dbac0d]"
/* SCSS */
$brand: #dbac0d;
/* SwiftUI */
Color(red: 0.859, green: 0.675, blue: 0.051)
/* Android */
Color.parseColor("#dbac0d")
/* Flutter */
Color(0xFFDBAC0D)
/* Python / OpenCV (BGR) */
(13, 172, 219)

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

Accessibility — WCAG contrast

Aa
#dbac0d on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#dbac0d on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2AB00
deuteranopia · #CEB71E
tritanopia · #EE9B93

Color scale — 50 to 950

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

#FDFAF2
#FBF6E5
#F8ECC4
#F9E295
#F6D360
#F2C52B
#dbac0d
#C1970B
#9A7909
#6F580B
#453707
Base = 600Lightest = 50 · #FDFAF2Darkest = 950 · #453707
:root {
  --brand-50: #FDFAF2;
  --brand-100: #FBF6E5;
  --brand-200: #F8ECC4;
  --brand-300: #F9E295;
  --brand-400: #F6D360;
  --brand-500: #F2C52B;
  --brand-600: #dbac0d;
  --brand-700: #C1970B;
  --brand-800: #9A7909;
  --brand-900: #6F580B;
  --brand-950: #453707;
  --brand: #dbac0d;
  --brand-ink: #000000;
}

Colors that work with #dbac0d

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#9B894B
Captions on the surface
Accent#086FE0
Second voice, not a rival
Dark variant#785F07
Hover, pressed, headers
Light variant#FEF8E7
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 #dbac0d

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#0D3CDB
Analogous left#DB450D
Analogous right#A3DB0D
Split-complement 1#0DA3DB
Split-complement 2#450DDB
Triadic 1#0DDBAC
Triadic 2#AC0DDB
Tetradic#0DDB45

RGB percentages

Red85.9%
Green67.5%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta21.5%
Yellow94.1%
Key (black)14.1%

Color previews

#dbac0d text on a black background

contrast 9.92:1

Card sample

#dbac0d text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 172, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 172, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbac0d;
background: linear-gradient(135deg, #dbac0d, #81DB0D);

Monochromatic scale

Palettes built from #dbac0d

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.

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

#dbac0d, answered

What color is #dbac0d?

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

What is the RGB value of #dbac0d?

rgb(219, 172, 13) — 219 red, 172 green and 13 blue out of 255, or 85.9% / 67.5% / 5.1% by channel.

Is #dbac0d a light or a dark color?

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

Should I use black or white text on #dbac0d?

Black. It scores 9.92:1 against #dbac0d, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #dbac0d?

#0D3CDB sits directly opposite on the wheel. Softer options are the split-complements #0DA3DB and #450DDB, which give the same contrast with far less vibration.

What colors go well with #dbac0d?

For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B894B for secondary text, #086FE0 as an accent and #785F07 for hover and pressed states. For a palette, the analogous pair #DB450D and #A3DB0D stays calm, while #0D3CDB is the loudest partner.

What is #dbac0d in CMYK for printing?

cmyk(0%, 22%, 94%, 14%). 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 #dbac0d warm or cool?

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

Work with #dbac0d in the Color Lab