Skip to content

#c2df20

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

RGB
194, 223, 32
HSL
69°, 75%, 50%
CMYK
13, 0, 86, 13
Luminance
0.6435

Every format

HEX#c2df20
RGBrgb(194, 223, 32)
HSLhsl(69, 75%, 50%)
CMYKcmyk(13%, 0%, 86%, 13%)
LABlab(84.2 -31.0 78.9)
LCHlch(84.2 84.8 111.5)
OKLCHoklch(0.853 0.194 119.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green87.5%
Blue12.5%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow85.7%
Key (black)12.5%

Color previews

#c2df20 text on a black background

contrast 13.87:1

Card sample

#c2df20 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 223, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 223, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2df20;
background: linear-gradient(135deg, #c2df20, #43DF20);

Monochromatic scale

Palettes built from #c2df20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2df20 in the Color Lab