Skip to content

#cadc2d

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

RGB
202, 220, 45
HSL
66°, 71%, 52%
CMYK
8, 0, 80, 14
Luminance
0.6393

Every format

HEX#cadc2d
RGBrgb(202, 220, 45)
HSLhsl(66, 71%, 52%)
CMYKcmyk(8%, 0%, 80%, 14%)
LABlab(83.9 -26.0 76.0)
LCHlch(83.9 80.3 108.9)
OKLCHoklch(0.853 0.183 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cadc2d on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cadc2d on black: 13.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green86.3%
Blue17.6%

CMYK percentages

Cyan8.2%
Magenta0.0%
Yellow79.5%
Key (black)13.7%

Color previews

#cadc2d text on a black background

contrast 13.79:1

Card sample

#cadc2d text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 220, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 220, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cadc2d;
background: linear-gradient(135deg, #cadc2d, #55DC2D);

Monochromatic scale

Palettes built from #cadc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cadc2d in the Color Lab