Skip to content

#cdba2b

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

RGB
205, 186, 43
HSL
53°, 65%, 49%
CMYK
0, 9, 79, 20
Luminance
0.4827

Every format

HEX#cdba2b
RGBrgb(205, 186, 43)
HSLhsl(53, 65%, 49%)
CMYKcmyk(0%, 9%, 79%, 20%)
LABlab(75.0 -7.9 68.7)
LCHlch(75.0 69.2 96.5)
OKLCHoklch(0.782 0.152 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green72.9%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta9.3%
Yellow79.0%
Key (black)19.6%

Color previews

#cdba2b text on a black background

contrast 10.65:1

Card sample

#cdba2b text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdba2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdba2b in the Color Lab