Skip to content

#c4dc21

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

RGB
196, 220, 33
HSL
68°, 74%, 50%
CMYK
11, 0, 85, 14
Luminance
0.6303

Every format

HEX#c4dc21
RGBrgb(196, 220, 33)
HSLhsl(68, 74%, 50%)
CMYKcmyk(11%, 0%, 85%, 14%)
LABlab(83.5 -28.8 78.2)
LCHlch(83.5 83.3 110.2)
OKLCHoklch(0.848 0.190 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4dc21 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#c4dc21 on black: 13.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green86.3%
Blue12.9%

CMYK percentages

Cyan10.9%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#c4dc21 text on a black background

contrast 13.61:1

Card sample

#c4dc21 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 220, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 220, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4dc21;
background: linear-gradient(135deg, #c4dc21, #47DC21);

Monochromatic scale

Palettes built from #c4dc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4dc21 in the Color Lab