Skip to content

#d0ba2c

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

RGB
208, 186, 44
HSL
52°, 65%, 49%
CMYK
0, 11, 79, 18
Luminance
0.4871

Every format

HEX#d0ba2c
RGBrgb(208, 186, 44)
HSLhsl(52, 65%, 49%)
CMYKcmyk(0%, 11%, 79%, 18%)
LABlab(75.3 -6.5 68.8)
LCHlch(75.3 69.1 95.4)
OKLCHoklch(0.785 0.151 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0ba2c on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#d0ba2c on black: 10.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green72.9%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta10.6%
Yellow78.8%
Key (black)18.4%

Color previews

#d0ba2c text on a black background

contrast 10.74:1

Card sample

#d0ba2c text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 186, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 186, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0ba2c;
background: linear-gradient(135deg, #d0ba2c, #79D02C);

Monochromatic scale

Palettes built from #d0ba2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0ba2c in the Color Lab