Skip to content

#cadf2c

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

RGB
202, 223, 44
HSL
67°, 74%, 52%
CMYK
9, 0, 80, 13
Luminance
0.6551

Every format

HEX#cadf2c
RGBrgb(202, 223, 44)
HSLhsl(67, 74%, 52%)
CMYKcmyk(9%, 0%, 80%, 13%)
LABlab(84.8 -27.4 76.9)
LCHlch(84.8 81.7 109.6)
OKLCHoklch(0.859 0.187 116.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cadf2c on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cadf2c on black: 14.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green87.5%
Blue17.3%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow80.3%
Key (black)12.5%

Color previews

#cadf2c text on a black background

contrast 14.10:1

Card sample

#cadf2c text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 223, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 223, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cadf2c;
background: linear-gradient(135deg, #cadf2c, #53DF2C);

Monochromatic scale

Palettes built from #cadf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cadf2c in the Color Lab