Skip to content

#d2ab46

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

RGB
210, 171, 70
HSL
43°, 61%, 55%
CMYK
0, 19, 67, 18
Luminance
0.4327

At a glance

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

Hex
#d2ab46
Hue
43°
yellow
Saturation
61%
vivid
Lightness
55%
balanced
Brightness
82%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4327
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.65:1
Closest name
Goldenrod
ΔE2000 4.4
Where it sits
Hue43° of 360°
Saturation61%
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#d2ab46
RGBrgb(210, 171, 70)
HSLhsl(43, 61%, 55%)
CMYKcmyk(0%, 19%, 67%, 18%)
LABlab(71.7 3.4 55.6)
LCHlch(71.7 55.7 86.5)
OKLCHoklch(0.758 0.126 87.7)
Decimal13806406
Display P3color(display-p3 0.824 0.671 0.275)

Copy-ready code

/* CSS */
color: #d2ab46;
background-color: #d2ab46;
/* Tailwind (arbitrary) */
class="text-[#d2ab46] bg-[#d2ab46]"
/* SCSS */
$brand: #d2ab46;
/* SwiftUI */
Color(red: 0.824, green: 0.671, blue: 0.275)
/* Android */
Color.parseColor("#d2ab46")
/* Flutter */
Color(0xFFD2AB46)
/* Python / OpenCV (BGR) */
(70, 171, 210)

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

Accessibility — WCAG contrast

Aa
#d2ab46 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#d2ab46 on black: 9.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BEAA3A
deuteranopia · #C7B44A
tritanopia · #E39D96

Color scale — 50 to 950

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

#FBF9F4
#F7F3E8
#F0E6CC
#E9D6A5
#DEC278
#d2ab46
#C59B30
#A48228
#836820
#5F4C1B
#3C3011
Base = 500Lightest = 50 · #FBF9F4Darkest = 950 · #3C3011
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F3E8;
  --brand-200: #F0E6CC;
  --brand-300: #E9D6A5;
  --brand-400: #DEC278;
  --brand-500: #d2ab46;
  --brand-600: #C59B30;
  --brand-700: #A48228;
  --brand-800: #836820;
  --brand-900: #5F4C1B;
  --brand-950: #3C3011;
  --brand: #d2ab46;
  --brand-ink: #000000;
}

Colors that work with #d2ab46

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#4190D7
Second voice, not a rival
Dark variant#675119
Hover, pressed, headers
Light variant#FAF6EA
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 #d2ab46

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#466DD2
Analogous left#D26546
Analogous right#B3D246
Split-complement 1#46B3D2
Split-complement 2#6546D2
Triadic 1#46D2AB
Triadic 2#AB46D2
Tetradic#46D265

RGB percentages

Red82.4%
Green67.1%
Blue27.5%

CMYK percentages

Cyan0.0%
Magenta18.6%
Yellow66.7%
Key (black)17.6%

Color previews

#d2ab46 text on a black background

contrast 9.65:1

Card sample

#d2ab46 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 171, 70, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 171, 70, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2ab46;
background: linear-gradient(135deg, #d2ab46, #9CD246);

Monochromatic scale

Palettes built from #d2ab46

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.

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

#d2ab46, answered

What color is #d2ab46?

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

What is the RGB value of #d2ab46?

rgb(210, 171, 70) — 210 red, 171 green and 70 blue out of 255, or 82.4% / 67.1% / 27.5% by channel.

Is #d2ab46 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4327 and perceived brightness is 69%, so black text on it reaches 9.65:1.

Should I use black or white text on #d2ab46?

Black. It scores 9.65:1 against #d2ab46, versus 2.18:1 for white — AAA at any size.

What is the complementary color of #d2ab46?

#466DD2 sits directly opposite on the wheel. Softer options are the split-complements #46B3D2 and #6546D2, which give the same contrast with far less vibration.

What colors go well with #d2ab46?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B854B for secondary text, #4190D7 as an accent and #675119 for hover and pressed states. For a palette, the analogous pair #D26546 and #B3D246 stays calm, while #466DD2 is the loudest partner.

What is #d2ab46 in CMYK for printing?

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

Is #d2ab46 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 #D29146; nudged cooler, #C8D444.

Work with #d2ab46 in the Color Lab