Skip to content

#cdad3d

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

RGB
205, 173, 61
HSL
47°, 59%, 52%
CMYK
0, 16, 70, 20
Luminance
0.4320

Every format

HEX#cdad3d
RGBrgb(205, 173, 61)
HSLhsl(47, 59%, 52%)
CMYKcmyk(0%, 16%, 70%, 20%)
LABlab(71.7 -0.3 59.2)
LCHlch(71.7 59.2 90.3)
OKLCHoklch(0.756 0.132 92.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdad3d on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#cdad3d on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green67.8%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta15.6%
Yellow70.2%
Key (black)19.6%

Color previews

#cdad3d text on a black background

contrast 9.64:1

Card sample

#cdad3d text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 173, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 173, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdad3d;
background: linear-gradient(135deg, #cdad3d, #8DCD3D);

Monochromatic scale

Palettes built from #cdad3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdad3d in the Color Lab