Skip to content

#d0bc21

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

RGB
208, 188, 33
HSL
53°, 73%, 47%
CMYK
0, 10, 84, 18
Luminance
0.4949

Every format

HEX#d0bc21
RGBrgb(208, 188, 33)
HSLhsl(53, 73%, 47%)
CMYKcmyk(0%, 10%, 84%, 18%)
LABlab(75.8 -7.9 72.2)
LCHlch(75.8 72.6 96.3)
OKLCHoklch(0.788 0.158 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0bc21 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#d0bc21 on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green73.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.6%
Yellow84.1%
Key (black)18.4%

Color previews

#d0bc21 text on a black background

contrast 10.90:1

Card sample

#d0bc21 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0bc21;
background: linear-gradient(135deg, #d0bc21, #70D021);

Monochromatic scale

Palettes built from #d0bc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0bc21 in the Color Lab