Skip to content

#cdbd2d

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

RGB
205, 189, 45
HSL
54°, 64%, 49%
CMYK
0, 8, 78, 20
Luminance
0.4956

Every format

HEX#cdbd2d
RGBrgb(205, 189, 45)
HSLhsl(54, 64%, 49%)
CMYKcmyk(0%, 8%, 78%, 20%)
LABlab(75.8 -9.3 68.8)
LCHlch(75.8 69.5 97.7)
OKLCHoklch(0.788 0.153 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdbd2d on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cdbd2d on black: 10.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green74.1%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow78.0%
Key (black)19.6%

Color previews

#cdbd2d text on a black background

contrast 10.91:1

Card sample

#cdbd2d text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 189, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 189, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdbd2d;
background: linear-gradient(135deg, #cdbd2d, #72CD2D);

Monochromatic scale

Palettes built from #cdbd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdbd2d in the Color Lab