Skip to content

#d3bc2c

a balanced, vivid yellow · cool · closest name: gold

RGB
211, 188, 44
HSL
52°, 66%, 50%
CMYK
0, 11, 79, 17
Luminance
0.5000

Every format

HEX#d3bc2c
RGBrgb(211, 188, 44)
HSLhsl(52, 66%, 50%)
CMYKcmyk(0%, 11%, 79%, 17%)
LABlab(76.1 -6.3 69.6)
LCHlch(76.1 69.9 95.2)
OKLCHoklch(0.792 0.153 99.5)

Copy-ready code

/* CSS */
color: #d3bc2c;
background-color: #d3bc2c;
/* Tailwind (arbitrary) */
class="text-[#d3bc2c] bg-[#d3bc2c]"
/* SCSS */
$brand: #d3bc2c;
/* SwiftUI */
Color(red: 0.827, green: 0.737, blue: 0.173)
/* Android */
Color.parseColor("#d3bc2c")

Accessibility — WCAG contrast

Aa
#d3bc2c on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#d3bc2c on black: 11.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green73.7%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta10.9%
Yellow79.1%
Key (black)17.3%

Color previews

#d3bc2c text on a black background

contrast 11.00:1

Card sample

#d3bc2c text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 188, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 188, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3bc2c;
background: linear-gradient(135deg, #d3bc2c, #7BD32C);

Monochromatic scale

Palettes built from #d3bc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3bc2c in the Color Lab