Skip to content

#cdd02c

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

RGB
205, 208, 44
HSL
61°, 65%, 49%
CMYK
1, 0, 79, 18
Luminance
0.5827

Every format

HEX#cdd02c
RGBrgb(205, 208, 44)
HSLhsl(61, 65%, 49%)
CMYKcmyk(1%, 0%, 79%, 18%)
LABlab(80.9 -18.9 73.7)
LCHlch(80.9 76.0 104.4)
OKLCHoklch(0.829 0.171 110.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd02c on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cdd02c on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green81.6%
Blue17.3%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow78.8%
Key (black)18.4%

Color previews

#cdd02c text on a black background

contrast 12.65:1

Card sample

#cdd02c text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdd02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd02c in the Color Lab