Skip to content

#dbab2c

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

RGB
219, 171, 44
HSL
44°, 71%, 52%
CMYK
0, 22, 80, 14
Luminance
0.4437

At a glance

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

Hex
#dbab2c
Hue
44°
yellow
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4437
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.87:1
Closest name
Goldenrod
ΔE2000 1.9
Where it sits
Hue44° of 360°
Saturation71%
Lightness52%
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#dbab2c
RGBrgb(219, 171, 44)
HSLhsl(44, 71%, 52%)
CMYKcmyk(0%, 22%, 80%, 14%)
LABlab(72.5 6.1 66.7)
LCHlch(72.5 67.0 84.8)
OKLCHoklch(0.765 0.144 86.2)
Decimal14396204
Display P3color(display-p3 0.859 0.671 0.173)

Copy-ready code

/* CSS */
color: #dbab2c;
background-color: #dbab2c;
/* Tailwind (arbitrary) */
class="text-[#dbab2c] bg-[#dbab2c]"
/* SCSS */
$brand: #dbab2c;
/* SwiftUI */
Color(red: 0.859, green: 0.671, blue: 0.173)
/* Android */
Color.parseColor("#dbab2c")
/* Flutter */
Color(0xFFDBAB2C)
/* Python / OpenCV (BGR) */
(44, 171, 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 #dbab2c · 9.87:1
Use #000000AAA at every size.
Aa
White text · 2.13:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.87:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dbab2c as text scores 2.13:1 on white and 9.87:1 on black.

Accessibility — WCAG contrast

Aa
#dbab2c on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#dbab2c on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1AA0D
deuteranopia · #CCB733
tritanopia · #EE9B93

Color scale — 50 to 950

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

#FCF9F3
#F8F4E7
#F3E7C9
#EFD99F
#E7C66F
#DEB33F
#dbab2c
#AE871E
#8B6C18
#654F15
#3F310D
Base = 600Lightest = 50 · #FCF9F3Darkest = 950 · #3F310D
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F8F4E7;
  --brand-200: #F3E7C9;
  --brand-300: #EFD99F;
  --brand-400: #E7C66F;
  --brand-500: #DEB33F;
  --brand-600: #dbab2c;
  --brand-700: #AE871E;
  --brand-800: #8B6C18;
  --brand-900: #654F15;
  --brand-950: #3F310D;
  --brand: #dbab2c;
  --brand-ink: #000000;
}

Colors that work with #dbab2c

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#9B854B
Captions on the surface
Accent#2788E0
Second voice, not a rival
Dark variant#6D5413
Hover, pressed, headers
Light variant#FBF6E9
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 #dbab2c

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#2C5CDB
Analogous left#DB532C
Analogous right#B4DB2C
Split-complement 1#2CB4DB
Split-complement 2#532CDB
Triadic 1#2CDBAB
Triadic 2#AB2CDB
Tetradic#2CDB53

RGB percentages

Red85.9%
Green67.1%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta21.9%
Yellow79.9%
Key (black)14.1%

Color previews

#dbab2c text on a black background

contrast 9.87:1

Card sample

#dbab2c text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 171, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 171, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbab2c;
background: linear-gradient(135deg, #dbab2c, #97DB2C);

Monochromatic scale

Palettes built from #dbab2c

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.

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

#dbab2c, answered

What color is #dbab2c?

#dbab2c is a balanced vivid yellow, closest to Goldenrod (ΔE2000 1.9). It sits at 44° on the hue wheel with 71% saturation and 52% lightness, which reads as warm.

What is the RGB value of #dbab2c?

rgb(219, 171, 44) — 219 red, 171 green and 44 blue out of 255, or 85.9% / 67.1% / 17.3% by channel.

Is #dbab2c a light or a dark color?

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

Should I use black or white text on #dbab2c?

Black. It scores 9.87:1 against #dbab2c, versus 2.13:1 for white — AAA at any size.

What is the complementary color of #dbab2c?

#2C5CDB sits directly opposite on the wheel. Softer options are the split-complements #2CB4DB and #532CDB, which give the same contrast with far less vibration.

What colors go well with #dbab2c?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B854B for secondary text, #2788E0 as an accent and #6D5413 for hover and pressed states. For a palette, the analogous pair #DB532C and #B4DB2C stays calm, while #2C5CDB is the loudest partner.

What is #dbab2c in CMYK for printing?

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

Is #dbab2c 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 #DB8D2C; nudged cooler, #CDDE2A.

Work with #dbab2c in the Color Lab