Skip to content

#d3cd33

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

RGB
211, 205, 51
HSL
58°, 65%, 51%
CMYK
0, 3, 76, 17
Luminance
0.5775

At a glance

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

Hex
#d3cd33
Hue
58°
yellow
Saturation
65%
vivid
Lightness
51%
balanced
Brightness
83%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5775
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.55:1
Closest name
Gold
ΔE2000 9.5
Where it sits
Hue58° of 360°
Saturation65%
Lightness51%
Temperature
Warm ← → Cool23% 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#d3cd33
RGBrgb(211, 205, 51)
HSLhsl(58, 65%, 51%)
CMYKcmyk(0%, 3%, 76%, 17%)
LABlab(80.6 -14.7 71.5)
LCHlch(80.6 73.0 101.6)
OKLCHoklch(0.828 0.164 107.2)
Decimal13880627
Display P3color(display-p3 0.827 0.804 0.200)

Copy-ready code

/* CSS */
color: #d3cd33;
background-color: #d3cd33;
/* Tailwind (arbitrary) */
class="text-[#d3cd33] bg-[#d3cd33]"
/* SCSS */
$brand: #d3cd33;
/* SwiftUI */
Color(red: 0.827, green: 0.804, blue: 0.200)
/* Android */
Color.parseColor("#d3cd33")
/* Flutter */
Color(0xFFD3CD33)
/* Python / OpenCV (BGR) */
(51, 205, 211)

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

Accessibility — WCAG contrast

Aa
#d3cd33 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#d3cd33 on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DFC50A
deuteranopia · #E2CB40
tritanopia · #E3BFB0

Color scale — 50 to 950

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

#FBFBF4
#F7F7E8
#F1EFCB
#EBE8A3
#E1DD75
#D7D246
#d3cd33
#A8A324
#86821D
#625F19
#3D3B10
Base = 600Lightest = 50 · #FBFBF4Darkest = 950 · #3D3B10
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F7E8;
  --brand-200: #F1EFCB;
  --brand-300: #EBE8A3;
  --brand-400: #E1DD75;
  --brand-500: #D7D246;
  --brand-600: #d3cd33;
  --brand-700: #A8A324;
  --brand-800: #86821D;
  --brand-900: #625F19;
  --brand-950: #3D3B10;
  --brand: #d3cd33;
  --brand-ink: #000000;
}

Colors that work with #d3cd33

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#2E5FD8
Second voice, not a rival
Dark variant#696617
Hover, pressed, headers
Light variant#FAFAEA
Selected rows, tints
Dark surface#242414
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 #d3cd33

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#3339D3
Analogous left#D37D33
Analogous right#89D333
Split-complement 1#3389D3
Split-complement 2#7D33D3
Triadic 1#33D3CD
Triadic 2#CD33D3
Tetradic#33D37D

RGB percentages

Red82.7%
Green80.4%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow75.8%
Key (black)17.3%

Color previews

#d3cd33 text on a black background

contrast 12.55:1

Card sample

#d3cd33 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 205, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 205, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3cd33;
background: linear-gradient(135deg, #d3cd33, #6ED333);

Monochromatic scale

Palettes built from #d3cd33

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.

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

#d3cd33, answered

What color is #d3cd33?

#d3cd33 is a balanced vivid yellow, closest to Gold (ΔE2000 9.5). It sits at 58° on the hue wheel with 65% saturation and 51% lightness, which reads as warm.

What is the RGB value of #d3cd33?

rgb(211, 205, 51) — 211 red, 205 green and 51 blue out of 255, or 82.7% / 80.4% / 20% by channel.

Is #d3cd33 a light or a dark color?

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

Should I use black or white text on #d3cd33?

Black. It scores 12.55:1 against #d3cd33, versus 1.67:1 for white — AAA at any size.

What is the complementary color of #d3cd33?

#3339D3 sits directly opposite on the wheel. Softer options are the split-complements #3389D3 and #7D33D3, which give the same contrast with far less vibration.

What colors go well with #d3cd33?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #2E5FD8 as an accent and #696617 for hover and pressed states. For a palette, the analogous pair #D37D33 and #89D333 stays calm, while #3339D3 is the loudest partner.

What is #d3cd33 in CMYK for printing?

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

Is #d3cd33 warm or cool?

Warm — it scores 23 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D39A33; nudged cooler, #9FD531.

Work with #d3cd33 in the Color Lab