Skip to content

#c5de21

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

RGB
197, 222, 33
HSL
68°, 74%, 50%
CMYK
11, 0, 85, 13
Luminance
0.6422

Every format

HEX#c5de21
RGBrgb(197, 222, 33)
HSLhsl(68, 74%, 50%)
CMYKcmyk(11%, 0%, 85%, 13%)
LABlab(84.1 -29.3 78.8)
LCHlch(84.1 84.0 110.4)
OKLCHoklch(0.853 0.192 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5de21 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#c5de21 on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green87.1%
Blue12.9%

CMYK percentages

Cyan11.3%
Magenta0.0%
Yellow85.1%
Key (black)12.9%

Color previews

#c5de21 text on a black background

contrast 13.84:1

Card sample

#c5de21 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5de21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5de21 in the Color Lab