Skip to content

#dbc71c

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

RGB
219, 199, 28
HSL
54°, 77%, 48%
CMYK
0, 9, 87, 14
Luminance
0.5599

At a glance

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

Hex
#dbc71c
Hue
54°
yellow
Saturation
77%
electric
Lightness
48%
balanced
Brightness
86%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5599
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
12.20:1
Closest name
Gold
ΔE2000 6.8
Where it sits
Hue54° of 360°
Saturation77%
Lightness48%
Temperature
Warm ← → Cool20% 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#dbc71c
RGBrgb(219, 199, 28)
HSLhsl(54, 77%, 48%)
CMYKcmyk(0%, 9%, 87%, 14%)
LABlab(79.6 -8.9 76.8)
LCHlch(79.6 77.3 96.6)
OKLCHoklch(0.821 0.167 101.8)
Decimal14403356
Display P3color(display-p3 0.859 0.780 0.110)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc71c on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#dbc71c on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC100
deuteranopia · #E0C92E
tritanopia · #EDB8AA

Color scale — 50 to 950

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

#FCFBF3
#F9F7E6
#F4F0C7
#F2E99C
#ECDE6A
#E6D338
#dbc71c
#B5A417
#918313
#696012
#413C0B
Base = 600Lightest = 50 · #FCFBF3Darkest = 950 · #413C0B
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F7E6;
  --brand-200: #F4F0C7;
  --brand-300: #F2E99C;
  --brand-400: #ECDE6A;
  --brand-500: #E6D338;
  --brand-600: #dbc71c;
  --brand-700: #B5A417;
  --brand-800: #918313;
  --brand-900: #696012;
  --brand-950: #413C0B;
  --brand: #dbc71c;
  --brand-ink: #000000;
}

Colors that work with #dbc71c

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#FAFAF4
Tinted page background
Border#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#175EE0
Second voice, not a rival
Dark variant#71670E
Hover, pressed, headers
Light variant#FCFAE8
Selected rows, tints
Dark surface#242314
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 #dbc71c

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#1C30DB
Analogous left#DB671C
Analogous right#8FDB1C
Split-complement 1#1C8FDB
Split-complement 2#671CDB
Triadic 1#1CDBC7
Triadic 2#C71CDB
Tetradic#1CDB67

RGB percentages

Red85.9%
Green78.0%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow87.2%
Key (black)14.1%

Color previews

#dbc71c text on a black background

contrast 12.20:1

Card sample

#dbc71c text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 199, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 199, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbc71c;
background: linear-gradient(135deg, #dbc71c, #70DB1C);

Monochromatic scale

Palettes built from #dbc71c

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.

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

#dbc71c, answered

What color is #dbc71c?

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

What is the RGB value of #dbc71c?

rgb(219, 199, 28) — 219 red, 199 green and 28 blue out of 255, or 85.9% / 78% / 11% by channel.

Is #dbc71c a light or a dark color?

It is a light color. Relative luminance is 0.5599 and perceived brightness is 76%, so black text on it reaches 12.20:1.

Should I use black or white text on #dbc71c?

Black. It scores 12.20:1 against #dbc71c, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #dbc71c?

#1C30DB sits directly opposite on the wheel. Softer options are the split-complements #1C8FDB and #671CDB, which give the same contrast with far less vibration.

What colors go well with #dbc71c?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #175EE0 as an accent and #71670E for hover and pressed states. For a palette, the analogous pair #DB671C and #8FDB1C stays calm, while #1C30DB is the loudest partner.

What is #dbc71c in CMYK for printing?

cmyk(0%, 9%, 87%, 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 #dbc71c warm or cool?

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

Work with #dbc71c in the Color Lab