Skip to content

#cdac39

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

RGB
205, 172, 57
HSL
47°, 60%, 51%
CMYK
0, 16, 72, 20
Luminance
0.4278

Every format

HEX#cdac39
RGBrgb(205, 172, 57)
HSLhsl(47, 60%, 51%)
CMYKcmyk(0%, 16%, 72%, 20%)
LABlab(71.4 0.0 60.5)
LCHlch(71.4 60.5 90.0)
OKLCHoklch(0.754 0.134 92.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdac39 on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#cdac39 on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green67.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow72.2%
Key (black)19.6%

Color previews

#cdac39 text on a black background

contrast 9.56:1

Card sample

#cdac39 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdac39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdac39 in the Color Lab