Skip to content

#cdba17

a dark, electric yellow · cool · closest name: gold

RGB
205, 186, 23
HSL
54°, 80%, 45%
CMYK
0, 9, 89, 20
Luminance
0.4816

Every format

HEX#cdba17
RGBrgb(205, 186, 23)
HSLhsl(54, 80%, 45%)
CMYKcmyk(0%, 9%, 89%, 20%)
LABlab(74.9 -8.4 73.5)
LCHlch(74.9 74.0 96.5)
OKLCHoklch(0.781 0.159 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdba17 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#cdba17 on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green72.9%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta9.3%
Yellow88.8%
Key (black)19.6%

Color previews

#cdba17 text on a black background

contrast 10.63:1

Card sample

#cdba17 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdba17

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdba17 in the Color Lab