Skip to content

#d6cd3a

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

RGB
214, 205, 58
HSL
57°, 66%, 53%
CMYK
0, 4, 73, 16
Luminance
0.5826

At a glance

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

Hex
#d6cd3a
Hue
57°
yellow
Saturation
66%
vivid
Lightness
53%
balanced
Brightness
84%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5826
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.65:1
Closest name
Gold
ΔE2000 9
Where it sits
Hue57° of 360°
Saturation66%
Lightness53%
Temperature
Warm ← → Cool22% 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#d6cd3a
RGBrgb(214, 205, 58)
HSLhsl(57, 66%, 53%)
CMYKcmyk(0%, 4%, 73%, 16%)
LABlab(80.9 -13.1 69.6)
LCHlch(80.9 70.8 100.7)
OKLCHoklch(0.831 0.159 105.8)
Decimal14077242
Display P3color(display-p3 0.839 0.804 0.227)

Copy-ready code

/* CSS */
color: #d6cd3a;
background-color: #d6cd3a;
/* Tailwind (arbitrary) */
class="text-[#d6cd3a] bg-[#d6cd3a]"
/* SCSS */
$brand: #d6cd3a;
/* SwiftUI */
Color(red: 0.839, green: 0.804, blue: 0.227)
/* Android */
Color.parseColor("#d6cd3a")
/* Flutter */
Color(0xFFD6CD3A)
/* Python / OpenCV (BGR) */
(58, 205, 214)

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

Accessibility — WCAG contrast

Aa
#d6cd3a on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#d6cd3a on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DFC51D
deuteranopia · #E2CC45
tritanopia · #E6BFB1

Color scale — 50 to 950

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

#FBFBF3
#F8F7E8
#F1EFCB
#ECE7A2
#E2DC74
#d6cd3a
#CBC12A
#A9A123
#87811C
#625E18
#3D3B0F
Base = 500Lightest = 50 · #FBFBF3Darkest = 950 · #3D3B0F
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F7E8;
  --brand-200: #F1EFCB;
  --brand-300: #ECE7A2;
  --brand-400: #E2DC74;
  --brand-500: #d6cd3a;
  --brand-600: #CBC12A;
  --brand-700: #A9A123;
  --brand-800: #87811C;
  --brand-900: #625E18;
  --brand-950: #3D3B0F;
  --brand: #d6cd3a;
  --brand-ink: #000000;
}

Colors that work with #d6cd3a

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#EDEAC0
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#3568DB
Second voice, not a rival
Dark variant#6A6516
Hover, pressed, headers
Light variant#FBFAEA
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 #d6cd3a

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#3A43D6
Analogous left#D67F3A
Analogous right#91D63A
Split-complement 1#3A91D6
Split-complement 2#7F3AD6
Triadic 1#3AD6CD
Triadic 2#CD3AD6
Tetradic#3AD67F

RGB percentages

Red83.9%
Green80.4%
Blue22.7%

CMYK percentages

Cyan0.0%
Magenta4.2%
Yellow72.9%
Key (black)16.1%

Color previews

#d6cd3a text on a black background

contrast 12.65:1

Card sample

#d6cd3a text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 205, 58, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 205, 58, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d6cd3a;
background: linear-gradient(135deg, #d6cd3a, #77D63A);

Monochromatic scale

Palettes built from #d6cd3a

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.

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

#d6cd3a, answered

What color is #d6cd3a?

#d6cd3a is a balanced vivid yellow, closest to Gold (ΔE2000 9). It sits at 57° on the hue wheel with 66% saturation and 53% lightness, which reads as warm.

What is the RGB value of #d6cd3a?

rgb(214, 205, 58) — 214 red, 205 green and 58 blue out of 255, or 83.9% / 80.4% / 22.7% by channel.

Is #d6cd3a a light or a dark color?

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

Should I use black or white text on #d6cd3a?

Black. It scores 12.65:1 against #d6cd3a, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #d6cd3a?

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

What colors go well with #d6cd3a?

For interface work: #FAFAF4 as the surface, #EDEAC0 for borders, #9B964B for secondary text, #3568DB as an accent and #6A6516 for hover and pressed states. For a palette, the analogous pair #D67F3A and #91D63A stays calm, while #3A43D6 is the loudest partner.

What is #d6cd3a in CMYK for printing?

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

Is #d6cd3a warm or cool?

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

Work with #d6cd3a in the Color Lab