Skip to content

#ddcd3d

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

RGB
221, 205, 61
HSL
54°, 70%, 55%
CMYK
0, 7, 72, 13
Luminance
0.5937

At a glance

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

Hex
#ddcd3d
Hue
54°
yellow
Saturation
70%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5937
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.87:1
Closest name
Gold
ΔE2000 7.5
Where it sits
Hue54° of 360°
Saturation70%
Lightness55%
Temperature
Warm ← → Cool20% 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#ddcd3d
RGBrgb(221, 205, 61)
HSLhsl(54, 70%, 55%)
CMYKcmyk(0%, 7%, 72%, 13%)
LABlab(81.5 -10.0 69.3)
LCHlch(81.5 70.1 98.2)
OKLCHoklch(0.837 0.157 102.8)
Decimal14535997
Display P3color(display-p3 0.867 0.804 0.239)

Copy-ready code

/* CSS */
color: #ddcd3d;
background-color: #ddcd3d;
/* Tailwind (arbitrary) */
class="text-[#ddcd3d] bg-[#ddcd3d]"
/* SCSS */
$brand: #ddcd3d;
/* SwiftUI */
Color(red: 0.867, green: 0.804, blue: 0.239)
/* Android */
Color.parseColor("#ddcd3d")
/* Flutter */
Color(0xFFDDCD3D)
/* Python / OpenCV (BGR) */
(61, 205, 221)

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

Accessibility — WCAG contrast

Aa
#ddcd3d on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#ddcd3d on black: 12.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0C623
deuteranopia · #E5CE47
tritanopia · #EEBFB1

Color scale — 50 to 950

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

#FCFBF3
#F8F6E7
#F2EEC9
#EEE6A0
#E6DA70
#ddcd3d
#D0BF24
#AE9F1E
#8B7F18
#655D16
#3F3A0E
Base = 500Lightest = 50 · #FCFBF3Darkest = 950 · #3F3A0E
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F6E7;
  --brand-200: #F2EEC9;
  --brand-300: #EEE6A0;
  --brand-400: #E6DA70;
  --brand-500: #ddcd3d;
  --brand-600: #D0BF24;
  --brand-700: #AE9F1E;
  --brand-800: #8B7F18;
  --brand-900: #655D16;
  --brand-950: #3F3A0E;
  --brand: #ddcd3d;
  --brand-ink: #000000;
}

Colors that work with #ddcd3d

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#EDE8C0
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#3874E2
Second voice, not a rival
Dark variant#6D6413
Hover, pressed, headers
Light variant#FBF9E9
Selected rows, tints
Dark surface#242314
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 #ddcd3d

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#3D4DDD
Analogous left#DD7D3D
Analogous right#9DDD3D
Split-complement 1#3D9DDD
Split-complement 2#7D3DDD
Triadic 1#3DDDCD
Triadic 2#CD3DDD
Tetradic#3DDD7D

RGB percentages

Red86.7%
Green80.4%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta7.2%
Yellow72.4%
Key (black)13.3%

Color previews

#ddcd3d text on a black background

contrast 12.87:1

Card sample

#ddcd3d text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 205, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 205, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddcd3d;
background: linear-gradient(135deg, #ddcd3d, #82DD3D);

Monochromatic scale

Palettes built from #ddcd3d

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.

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

#ddcd3d, answered

What color is #ddcd3d?

#ddcd3d is a balanced vivid yellow, closest to Gold (ΔE2000 7.5). It sits at 54° on the hue wheel with 70% saturation and 55% lightness, which reads as warm.

What is the RGB value of #ddcd3d?

rgb(221, 205, 61) — 221 red, 205 green and 61 blue out of 255, or 86.7% / 80.4% / 23.9% by channel.

Is #ddcd3d a light or a dark color?

It is a light color. Relative luminance is 0.5937 and perceived brightness is 78%, so black text on it reaches 12.87:1.

Should I use black or white text on #ddcd3d?

Black. It scores 12.87:1 against #ddcd3d, versus 1.63:1 for white — AAA at any size.

What is the complementary color of #ddcd3d?

#3D4DDD sits directly opposite on the wheel. Softer options are the split-complements #3D9DDD and #7D3DDD, which give the same contrast with far less vibration.

What colors go well with #ddcd3d?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #3874E2 as an accent and #6D6413 for hover and pressed states. For a palette, the analogous pair #DD7D3D and #9DDD3D stays calm, while #3D4DDD is the loudest partner.

What is #ddcd3d in CMYK for printing?

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

Is #ddcd3d warm or cool?

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

Work with #ddcd3d in the Color Lab