Skip to content

#d7ac3f

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

RGB
215, 172, 63
HSL
43°, 66%, 55%
CMYK
0, 20, 71, 16
Luminance
0.4431

At a glance

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

Hex
#d7ac3f
Hue
43°
yellow
Saturation
66%
vivid
Lightness
55%
balanced
Brightness
84%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4431
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.86:1
Closest name
Goldenrod
ΔE2000 3.3
Where it sits
Hue43° of 360°
Saturation66%
Lightness55%
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#d7ac3f
RGBrgb(215, 172, 63)
HSLhsl(43, 66%, 55%)
CMYKcmyk(0%, 20%, 71%, 16%)
LABlab(72.4 4.6 59.5)
LCHlch(72.4 59.6 85.5)
OKLCHoklch(0.764 0.133 86.7)
Decimal14134335
Display P3color(display-p3 0.843 0.675 0.247)

Copy-ready code

/* CSS */
color: #d7ac3f;
background-color: #d7ac3f;
/* Tailwind (arbitrary) */
class="text-[#d7ac3f] bg-[#d7ac3f]"
/* SCSS */
$brand: #d7ac3f;
/* SwiftUI */
Color(red: 0.843, green: 0.675, blue: 0.247)
/* Android */
Color.parseColor("#d7ac3f")
/* Flutter */
Color(0xFFD7AC3F)
/* Python / OpenCV (BGR) */
(63, 172, 215)

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

Accessibility — WCAG contrast

Aa
#d7ac3f on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#d7ac3f on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0AB30
deuteranopia · #CAB644
tritanopia · #E99D96

Color scale — 50 to 950

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

#FBF9F3
#F8F3E8
#F1E6CB
#ECD7A2
#E2C374
#d7ac3f
#CB9D2A
#A98323
#87691C
#624D18
#3D300F
Base = 500Lightest = 50 · #FBF9F3Darkest = 950 · #3D300F
:root {
  --brand-50: #FBF9F3;
  --brand-100: #F8F3E8;
  --brand-200: #F1E6CB;
  --brand-300: #ECD7A2;
  --brand-400: #E2C374;
  --brand-500: #d7ac3f;
  --brand-600: #CB9D2A;
  --brand-700: #A98323;
  --brand-800: #87691C;
  --brand-900: #624D18;
  --brand-950: #3D300F;
  --brand: #d7ac3f;
  --brand-ink: #000000;
}

Colors that work with #d7ac3f

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#9B844B
Captions on the surface
Accent#3A90DC
Second voice, not a rival
Dark variant#6A5216
Hover, pressed, headers
Light variant#FBF6EA
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 #d7ac3f

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#3F6AD7
Analogous left#D7603F
Analogous right#B6D73F
Split-complement 1#3FB6D7
Split-complement 2#603FD7
Triadic 1#3FD7AC
Triadic 2#AC3FD7
Tetradic#3FD760

RGB percentages

Red84.3%
Green67.5%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow70.7%
Key (black)15.7%

Color previews

#d7ac3f text on a black background

contrast 9.86:1

Card sample

#d7ac3f text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 172, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 172, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7ac3f;
background: linear-gradient(135deg, #d7ac3f, #9DD73F);

Monochromatic scale

Palettes built from #d7ac3f

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.

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

#d7ac3f, answered

What color is #d7ac3f?

#d7ac3f is a balanced vivid yellow, closest to Goldenrod (ΔE2000 3.3). It sits at 43° on the hue wheel with 66% saturation and 55% lightness, which reads as warm.

What is the RGB value of #d7ac3f?

rgb(215, 172, 63) — 215 red, 172 green and 63 blue out of 255, or 84.3% / 67.5% / 24.7% by channel.

Is #d7ac3f a light or a dark color?

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

Should I use black or white text on #d7ac3f?

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

What is the complementary color of #d7ac3f?

#3F6AD7 sits directly opposite on the wheel. Softer options are the split-complements #3FB6D7 and #603FD7, which give the same contrast with far less vibration.

What colors go well with #d7ac3f?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B844B for secondary text, #3A90DC as an accent and #6A5216 for hover and pressed states. For a palette, the analogous pair #D7603F and #B6D73F stays calm, while #3F6AD7 is the loudest partner.

What is #d7ac3f in CMYK for printing?

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

Is #d7ac3f 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 #D7913F; nudged cooler, #CCD93D.

Work with #d7ac3f in the Color Lab