Skip to content

#d2b621

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

RGB
210, 182, 33
HSL
51°, 73%, 48%
CMYK
0, 13, 84, 18
Luminance
0.4727

At a glance

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

Hex
#d2b621
Hue
51°
yellow
Saturation
73%
vivid
Lightness
48%
balanced
Brightness
82%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4727
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.45:1
Closest name
Goldenrod
ΔE2000 8.1
Where it sits
Hue51° of 360°
Saturation73%
Lightness48%
Temperature
Warm ← → Cool17% 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#d2b621
RGBrgb(210, 182, 33)
HSLhsl(51, 73%, 48%)
CMYKcmyk(0%, 13%, 84%, 18%)
LABlab(74.4 -3.9 71.1)
LCHlch(74.4 71.2 93.2)
OKLCHoklch(0.778 0.153 97.3)
Decimal13809185
Display P3color(display-p3 0.824 0.714 0.129)

Copy-ready code

/* CSS */
color: #d2b621;
background-color: #d2b621;
/* Tailwind (arbitrary) */
class="text-[#d2b621] bg-[#d2b621]"
/* SCSS */
$brand: #d2b621;
/* SwiftUI */
Color(red: 0.824, green: 0.714, blue: 0.129)
/* Android */
Color.parseColor("#d2b621")
/* Flutter */
Color(0xFFD2B621)
/* Python / OpenCV (BGR) */
(33, 182, 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 #d2b621 · 10.45:1
Use #000000AAA at every size.
Aa
White text · 2.01:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.45:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d2b621 as text scores 2.01:1 on white and 10.45:1 on black.

Accessibility — WCAG contrast

Aa
#d2b621 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#d2b621 on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CAB200
deuteranopia · #D1BB2E
tritanopia · #E3A79C

Color scale — 50 to 950

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

#FCFAF3
#F8F6E7
#F3ECC9
#F0E39E
#E8D56E
#E0C73D
#d2b621
#B0991C
#8D7A16
#665914
#40380D
Base = 600Lightest = 50 · #FCFAF3Darkest = 950 · #40380D
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F6E7;
  --brand-200: #F3ECC9;
  --brand-300: #F0E39E;
  --brand-400: #E8D56E;
  --brand-500: #E0C73D;
  --brand-600: #d2b621;
  --brand-700: #B0991C;
  --brand-800: #8D7A16;
  --brand-900: #665914;
  --brand-950: #40380D;
  --brand: #d2b621;
  --brand-ink: #000000;
}

Colors that work with #d2b621

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#EDE6C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#1C68D7
Second voice, not a rival
Dark variant#6E5F11
Hover, pressed, headers
Light variant#FCF9E9
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 #d2b621

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#213DD2
Analogous left#D25D21
Analogous right#95D221
Split-complement 1#2195D2
Split-complement 2#5D21D2
Triadic 1#21D2B6
Triadic 2#B621D2
Tetradic#21D25D

RGB percentages

Red82.4%
Green71.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta13.3%
Yellow84.3%
Key (black)17.6%

Color previews

#d2b621 text on a black background

contrast 10.45:1

Card sample

#d2b621 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 182, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 182, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2b621;
background: linear-gradient(135deg, #d2b621, #78D221);

Monochromatic scale

Palettes built from #d2b621

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.

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

#d2b621, answered

What color is #d2b621?

#d2b621 is a balanced vivid yellow, closest to Goldenrod (ΔE2000 8.1). It sits at 51° on the hue wheel with 73% saturation and 48% lightness, which reads as warm.

What is the RGB value of #d2b621?

rgb(210, 182, 33) — 210 red, 182 green and 33 blue out of 255, or 82.4% / 71.4% / 12.9% by channel.

Is #d2b621 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4727 and perceived brightness is 71%, so black text on it reaches 10.45:1.

Should I use black or white text on #d2b621?

Black. It scores 10.45:1 against #d2b621, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #d2b621?

#213DD2 sits directly opposite on the wheel. Softer options are the split-complements #2195D2 and #5D21D2, which give the same contrast with far less vibration.

What colors go well with #d2b621?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8E4B for secondary text, #1C68D7 as an accent and #6E5F11 for hover and pressed states. For a palette, the analogous pair #D25D21 and #95D221 stays calm, while #213DD2 is the loudest partner.

What is #d2b621 in CMYK for printing?

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

Is #d2b621 warm or cool?

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

Work with #d2b621 in the Color Lab