Skip to content

#cadf2f

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

RGB
202, 223, 47
HSL
67°, 73%, 53%
CMYK
9, 0, 79, 13
Luminance
0.6554

Every format

HEX#cadf2f
RGBrgb(202, 223, 47)
HSLhsl(67, 73%, 53%)
CMYKcmyk(9%, 0%, 79%, 13%)
LABlab(84.8 -27.3 76.2)
LCHlch(84.8 80.9 109.7)
OKLCHoklch(0.859 0.185 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green87.5%
Blue18.4%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow78.9%
Key (black)12.5%

Color previews

#cadf2f text on a black background

contrast 14.11:1

Card sample

#cadf2f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cadf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cadf2f in the Color Lab