Skip to content

#cdba32

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

RGB
205, 186, 50
HSL
53°, 61%, 50%
CMYK
0, 9, 76, 20
Luminance
0.4833

Every format

HEX#cdba32
RGBrgb(205, 186, 50)
HSLhsl(53, 61%, 50%)
CMYKcmyk(0%, 9%, 76%, 20%)
LABlab(75.0 -7.6 66.5)
LCHlch(75.0 67.0 96.5)
OKLCHoklch(0.782 0.148 101.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdba32 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#cdba32 on black: 10.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green72.9%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta9.3%
Yellow75.6%
Key (black)19.6%

Color previews

#cdba32 text on a black background

contrast 10.67:1

Card sample

#cdba32 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 186, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 186, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdba32;
background: linear-gradient(135deg, #cdba32, #79CD32);

Monochromatic scale

Palettes built from #cdba32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdba32 in the Color Lab