Skip to content

#cdd430

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

RGB
205, 212, 48
HSL
63°, 66%, 51%
CMYK
3, 0, 77, 17
Luminance
0.6028

Every format

HEX#cdd430
RGBrgb(205, 212, 48)
HSLhsl(63, 66%, 51%)
CMYKcmyk(3%, 0%, 77%, 17%)
LABlab(82.0 -20.8 73.5)
LCHlch(82.0 76.4 105.8)
OKLCHoklch(0.838 0.173 112.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd430 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cdd430 on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green83.1%
Blue18.8%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow77.4%
Key (black)16.9%

Color previews

#cdd430 text on a black background

contrast 13.06:1

Card sample

#cdd430 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 212, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 212, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd430;
background: linear-gradient(135deg, #cdd430, #60D430);

Monochromatic scale

Palettes built from #cdd430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd430 in the Color Lab