Skip to content

#c2df0d

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

RGB
194, 223, 13
HSL
68°, 89%, 46%
CMYK
13, 0, 94, 13
Luminance
0.6427

Every format

HEX#c2df0d
RGBrgb(194, 223, 13)
HSLhsl(68, 89%, 46%)
CMYKcmyk(13%, 0%, 94%, 13%)
LABlab(84.1 -31.4 81.7)
LCHlch(84.1 87.5 111.0)
OKLCHoklch(0.852 0.198 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green87.5%
Blue5.1%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow94.2%
Key (black)12.5%

Color previews

#c2df0d text on a black background

contrast 13.85:1

Card sample

#c2df0d text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2df0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2df0d in the Color Lab