Skip to content

#dac045

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

RGB
218, 192, 69
HSL
50°, 67%, 56%
CMYK
0, 12, 68, 15
Luminance
0.5303

At a glance

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

Hex
#dac045
Hue
50°
yellow
Saturation
67%
vivid
Lightness
56%
balanced
Brightness
85%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5303
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.61:1
Closest name
Gold
ΔE2000 8.5
Where it sits
Hue50° of 360°
Saturation67%
Lightness56%
Temperature
Warm ← → Cool16% 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#dac045
RGBrgb(218, 192, 69)
HSLhsl(50, 67%, 56%)
CMYKcmyk(0%, 12%, 68%, 15%)
LABlab(77.9 -4.3 62.7)
LCHlch(77.9 62.8 93.9)
OKLCHoklch(0.808 0.142 97.1)
Decimal14336069
Display P3color(display-p3 0.855 0.753 0.271)

Copy-ready code

/* CSS */
color: #dac045;
background-color: #dac045;
/* Tailwind (arbitrary) */
class="text-[#dac045] bg-[#dac045]"
/* SCSS */
$brand: #dac045;
/* SwiftUI */
Color(red: 0.855, green: 0.753, blue: 0.271)
/* Android */
Color.parseColor("#dac045")
/* Flutter */
Color(0xFFDAC045)
/* Python / OpenCV (BGR) */
(69, 192, 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 #dac045 · 11.61:1
Use #000000AAA at every size.
Aa
White text · 1.81:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.61:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dac045 as text scores 1.81:1 on white and 11.61:1 on black.

Accessibility — WCAG contrast

Aa
#dac045 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dac045 on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3BC34
deuteranopia · #DAC44C
tritanopia · #EBB2A7

Color scale — 50 to 950

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

#FBFAF3
#F8F5E8
#F1EBCA
#ECDFA1
#E3CF73
#dac045
#CCB029
#AA9222
#88751B
#635618
#3E360F
Base = 500Lightest = 50 · #FBFAF3Darkest = 950 · #3E360F
:root {
  --brand-50: #FBFAF3;
  --brand-100: #F8F5E8;
  --brand-200: #F1EBCA;
  --brand-300: #ECDFA1;
  --brand-400: #E3CF73;
  --brand-500: #dac045;
  --brand-600: #CCB029;
  --brand-700: #AA9222;
  --brand-800: #88751B;
  --brand-900: #635618;
  --brand-950: #3E360F;
  --brand: #dac045;
  --brand-ink: #000000;
}

Colors that work with #dac045

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#9B8D4B
Captions on the surface
Accent#4184DE
Second voice, not a rival
Dark variant#6A5B15
Hover, pressed, headers
Light variant#FBF8EA
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 #dac045

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#455FDA
Analogous left#DA7645
Analogous right#AADA45
Split-complement 1#45AADA
Split-complement 2#7645DA
Triadic 1#45DAC0
Triadic 2#C045DA
Tetradic#45DA76

RGB percentages

Red85.5%
Green75.3%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta11.9%
Yellow68.3%
Key (black)14.5%

Color previews

#dac045 text on a black background

contrast 11.61:1

Card sample

#dac045 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 192, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 192, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dac045;
background: linear-gradient(135deg, #dac045, #91DA45);

Monochromatic scale

Palettes built from #dac045

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.

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

#dac045, answered

What color is #dac045?

#dac045 is a balanced vivid yellow, closest to Gold (ΔE2000 8.5). It sits at 50° on the hue wheel with 67% saturation and 56% lightness, which reads as warm.

What is the RGB value of #dac045?

rgb(218, 192, 69) — 218 red, 192 green and 69 blue out of 255, or 85.5% / 75.3% / 27.1% by channel.

Is #dac045 a light or a dark color?

It is a light color. Relative luminance is 0.5303 and perceived brightness is 75%, so black text on it reaches 11.61:1.

Should I use black or white text on #dac045?

Black. It scores 11.61:1 against #dac045, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #dac045?

#455FDA sits directly opposite on the wheel. Softer options are the split-complements #45AADA and #7645DA, which give the same contrast with far less vibration.

What colors go well with #dac045?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8D4B for secondary text, #4184DE as an accent and #6A5B15 for hover and pressed states. For a palette, the analogous pair #DA7645 and #AADA45 stays calm, while #455FDA is the loudest partner.

What is #dac045 in CMYK for printing?

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

Is #dac045 warm or cool?

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

Work with #dac045 in the Color Lab