Skip to content

#c3dc21

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

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

Every format

HEX#c3dc21
RGBrgb(195, 220, 33)
HSLhsl(68, 74%, 50%)
CMYKcmyk(11%, 0%, 85%, 14%)
LABlab(83.4 -29.2 78.1)
LCHlch(83.4 83.4 110.5)
OKLCHoklch(0.847 0.190 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#c3dc21 text on a black background

contrast 13.58:1

Card sample

#c3dc21 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c3dc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3dc21 in the Color Lab