Skip to content

#dacb13

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

RGB
218, 203, 19
HSL
56°, 84%, 47%
CMYK
0, 7, 91, 15
Luminance
0.5766

At a glance

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

Hex
#dacb13
Hue
56°
yellow
Saturation
84%
electric
Lightness
47%
balanced
Brightness
85%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5766
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
12.53:1
Closest name
Gold
ΔE2000 7.2
Where it sits
Hue56° of 360°
Saturation84%
Lightness47%
Temperature
Warm ← → Cool21% 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#dacb13
RGBrgb(218, 203, 19)
HSLhsl(56, 84%, 47%)
CMYKcmyk(0%, 7%, 91%, 15%)
LABlab(80.5 -11.5 79.0)
LCHlch(80.5 79.9 98.3)
OKLCHoklch(0.828 0.172 104.0)
Decimal14338835
Display P3color(display-p3 0.855 0.796 0.075)

Copy-ready code

/* CSS */
color: #dacb13;
background-color: #dacb13;
/* Tailwind (arbitrary) */
class="text-[#dacb13] bg-[#dacb13]"
/* SCSS */
$brand: #dacb13;
/* SwiftUI */
Color(red: 0.855, green: 0.796, blue: 0.075)
/* Android */
Color.parseColor("#dacb13")
/* Flutter */
Color(0xFFDACB13)
/* Python / OpenCV (BGR) */
(19, 203, 218)

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

Accessibility — WCAG contrast

Aa
#dacb13 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dacb13 on black: 12.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DEC400
deuteranopia · #E3CB2B
tritanopia · #EBBCAD

Color scale — 50 to 950

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

#FCFCF2
#FAF8E6
#F6F3C5
#F6EF98
#F2E764
#EDDF31
#dacb13
#BCAF10
#968C0D
#6C650E
#443F09
Base = 600Lightest = 50 · #FCFCF2Darkest = 950 · #443F09
:root {
  --brand-50: #FCFCF2;
  --brand-100: #FAF8E6;
  --brand-200: #F6F3C5;
  --brand-300: #F6EF98;
  --brand-400: #F2E764;
  --brand-500: #EDDF31;
  --brand-600: #dacb13;
  --brand-700: #BCAF10;
  --brand-800: #968C0D;
  --brand-900: #6C650E;
  --brand-950: #443F09;
  --brand: #dacb13;
  --brand-ink: #000000;
}

Colors that work with #dacb13

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#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#0E52DF
Second voice, not a rival
Dark variant#756D0A
Hover, pressed, headers
Light variant#FDFBE8
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 #dacb13

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#1322DA
Analogous left#DA6813
Analogous right#86DA13
Split-complement 1#1386DA
Split-complement 2#6813DA
Triadic 1#13DACB
Triadic 2#CB13DA
Tetradic#13DA68

RGB percentages

Red85.5%
Green79.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow91.3%
Key (black)14.5%

Color previews

#dacb13 text on a black background

contrast 12.53:1

Card sample

#dacb13 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 203, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 203, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dacb13;
background: linear-gradient(135deg, #dacb13, #64DA13);

Monochromatic scale

Palettes built from #dacb13

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.

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

#dacb13, answered

What color is #dacb13?

#dacb13 is a balanced electric yellow, closest to Gold (ΔE2000 7.2). It sits at 56° on the hue wheel with 84% saturation and 47% lightness, which reads as warm.

What is the RGB value of #dacb13?

rgb(218, 203, 19) — 218 red, 203 green and 19 blue out of 255, or 85.5% / 79.6% / 7.5% by channel.

Is #dacb13 a light or a dark color?

It is a light color. Relative luminance is 0.5766 and perceived brightness is 77%, so black text on it reaches 12.53:1.

Should I use black or white text on #dacb13?

Black. It scores 12.53:1 against #dacb13, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #dacb13?

#1322DA sits directly opposite on the wheel. Softer options are the split-complements #1386DA and #6813DA, which give the same contrast with far less vibration.

What colors go well with #dacb13?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #0E52DF as an accent and #756D0A for hover and pressed states. For a palette, the analogous pair #DA6813 and #86DA13 stays calm, while #1322DA is the loudest partner.

What is #dacb13 in CMYK for printing?

cmyk(0%, 7%, 91%, 15%). 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 #dacb13 warm or cool?

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

Work with #dacb13 in the Color Lab