Skip to content

#c2d921

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

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

Every format

HEX#c2d921
RGBrgb(194, 217, 33)
HSLhsl(68, 74%, 49%)
CMYKcmyk(11%, 0%, 85%, 15%)
LABlab(82.5 -28.2 77.3)
LCHlch(82.5 82.3 110.0)
OKLCHoklch(0.839 0.187 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green85.1%
Blue12.9%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#c2d921 text on a black background

contrast 13.24:1

Card sample

#c2d921 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d921 in the Color Lab