Skip to content

#cdda3b

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

RGB
205, 218, 59
HSL
65°, 68%, 54%
CMYK
6, 0, 73, 15
Luminance
0.6344

Every format

HEX#cdda3b
RGBrgb(205, 218, 59)
HSLhsl(65, 68%, 54%)
CMYKcmyk(6%, 0%, 73%, 15%)
LABlab(83.7 -23.2 71.7)
LCHlch(83.7 75.3 108.0)
OKLCHoklch(0.851 0.173 114.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdda3b on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cdda3b on black: 13.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.5%
Blue23.1%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow72.9%
Key (black)14.5%

Color previews

#cdda3b text on a black background

contrast 13.69:1

Card sample

#cdda3b text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 218, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 218, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdda3b;
background: linear-gradient(135deg, #cdda3b, #63DA3B);

Monochromatic scale

Palettes built from #cdda3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdda3b in the Color Lab