Skip to content

#c1d921

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

RGB
193, 217, 33
HSL
68°, 74%, 49%
CMYK
11, 0, 85, 15
Luminance
0.6107

Every format

HEX#c1d921
RGBrgb(193, 217, 33)
HSLhsl(68, 74%, 49%)
CMYKcmyk(11%, 0%, 85%, 15%)
LABlab(82.4 -28.6 77.3)
LCHlch(82.4 82.4 110.3)
OKLCHoklch(0.839 0.188 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c1d921 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#c1d921 on black: 13.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.7%
Green85.1%
Blue12.9%

CMYK percentages

Cyan11.1%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#c1d921 text on a black background

contrast 13.21:1

Card sample

#c1d921 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c1d921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c1d921 in the Color Lab