Skip to content

#d0af39

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

RGB
208, 175, 57
HSL
47°, 62%, 52%
CMYK
0, 16, 73, 18
Luminance
0.4437

Every format

HEX#d0af39
RGBrgb(208, 175, 57)
HSLhsl(47, 62%, 52%)
CMYKcmyk(0%, 16%, 73%, 18%)
LABlab(72.5 -0.3 61.7)
LCHlch(72.5 61.7 90.2)
OKLCHoklch(0.763 0.137 92.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0af39 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#d0af39 on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green68.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta15.9%
Yellow72.6%
Key (black)18.4%

Color previews

#d0af39 text on a black background

contrast 9.87:1

Card sample

#d0af39 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0af39;
background: linear-gradient(135deg, #d0af39, #8CD039);

Monochromatic scale

Palettes built from #d0af39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0af39 in the Color Lab