Skip to content

#c2dc2d

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

RGB
194, 220, 45
HSL
69°, 71%, 52%
CMYK
12, 0, 80, 14
Luminance
0.6285

Every format

HEX#c2dc2d
RGBrgb(194, 220, 45)
HSLhsl(69, 71%, 52%)
CMYKcmyk(12%, 0%, 80%, 14%)
LABlab(83.4 -29.2 75.2)
LCHlch(83.4 80.7 111.2)
OKLCHoklch(0.847 0.186 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2dc2d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#c2dc2d on black: 13.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green86.3%
Blue17.6%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow79.5%
Key (black)13.7%

Color previews

#c2dc2d text on a black background

contrast 13.57:1

Card sample

#c2dc2d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dc2d in the Color Lab