Skip to content

#cdac33

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

RGB
205, 172, 51
HSL
47°, 61%, 50%
CMYK
0, 16, 75, 20
Luminance
0.4272

Every format

HEX#cdac33
RGBrgb(205, 172, 51)
HSLhsl(47, 61%, 50%)
CMYKcmyk(0%, 16%, 75%, 20%)
LABlab(71.4 -0.3 62.7)
LCHlch(71.4 62.7 90.2)
OKLCHoklch(0.753 0.138 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green67.5%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow75.1%
Key (black)19.6%

Color previews

#cdac33 text on a black background

contrast 9.54:1

Card sample

#cdac33 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdac33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdac33 in the Color Lab