Skip to content

#c0c721

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

RGB
192, 199, 33
HSL
63°, 72%, 46%
CMYK
4, 0, 83, 22
Luminance
0.5216

Every format

HEX#c0c721
RGBrgb(192, 199, 33)
HSLhsl(63, 72%, 46%)
CMYKcmyk(4%, 0%, 83%, 22%)
LABlab(77.4 -20.3 73.0)
LCHlch(77.4 75.8 105.6)
OKLCHoklch(0.798 0.170 112.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0c721 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#c0c721 on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green78.0%
Blue12.9%

CMYK percentages

Cyan3.5%
Magenta0.0%
Yellow83.4%
Key (black)22.0%

Color previews

#c0c721 text on a black background

contrast 11.43:1

Card sample

#c0c721 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0c721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0c721 in the Color Lab