Skip to content

#d2bc3f

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

RGB
210, 188, 63
HSL
51°, 62%, 54%
CMYK
0, 11, 70, 18
Luminance
0.5003

Every format

HEX#d2bc3f
RGBrgb(210, 188, 63)
HSLhsl(51, 62%, 54%)
CMYKcmyk(0%, 11%, 70%, 18%)
LABlab(76.1 -5.9 63.0)
LCHlch(76.1 63.3 95.4)
OKLCHoklch(0.792 0.142 99.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green73.7%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta10.5%
Yellow70.0%
Key (black)17.6%

Color previews

#d2bc3f text on a black background

contrast 11.01:1

Card sample

#d2bc3f text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 188, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 188, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2bc3f;
background: linear-gradient(135deg, #d2bc3f, #86D23F);

Monochromatic scale

Palettes built from #d2bc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2bc3f in the Color Lab