Skip to content

#c7de21

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

RGB
199, 222, 33
HSL
67°, 74%, 50%
CMYK
10, 0, 85, 13
Luminance
0.6449

Every format

HEX#c7de21
RGBrgb(199, 222, 33)
HSLhsl(67, 74%, 50%)
CMYKcmyk(10%, 0%, 85%, 13%)
LABlab(84.2 -28.5 78.9)
LCHlch(84.2 83.9 109.9)
OKLCHoklch(0.854 0.191 117.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7de21 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#c7de21 on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green87.1%
Blue12.9%

CMYK percentages

Cyan10.4%
Magenta0.0%
Yellow85.1%
Key (black)12.9%

Color previews

#c7de21 text on a black background

contrast 13.90:1

Card sample

#c7de21 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7de21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7de21 in the Color Lab