Skip to content

#d09c2f

a balanced, vivid yellow · warm · closest name: peru

RGB
208, 156, 47
HSL
41°, 63%, 50%
CMYK
0, 25, 77, 18
Luminance
0.3739

Every format

HEX#d09c2f
RGBrgb(208, 156, 47)
HSLhsl(41, 63%, 50%)
CMYKcmyk(0%, 25%, 77%, 18%)
LABlab(67.6 9.5 60.7)
LCHlch(67.6 61.5 81.1)
OKLCHoklch(0.724 0.134 81.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d09c2f on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#d09c2f on black: 8.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green61.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta25.0%
Yellow77.4%
Key (black)18.4%

Color previews

#d09c2f text on a black background

contrast 8.48:1

Card sample

#d09c2f text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 156, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 156, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d09c2f;
background: linear-gradient(135deg, #d09c2f, #99D02F);

Monochromatic scale

Palettes built from #d09c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d09c2f in the Color Lab