Skip to content

#c2cc2f

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

RGB
194, 204, 47
HSL
64°, 63%, 49%
CMYK
5, 0, 77, 20
Luminance
0.5486

Every format

HEX#c2cc2f
RGBrgb(194, 204, 47)
HSLhsl(64, 63%, 49%)
CMYKcmyk(5%, 0%, 77%, 20%)
LABlab(79.0 -21.5 70.7)
LCHlch(79.0 73.9 106.9)
OKLCHoklch(0.811 0.168 113.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cc2f on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#c2cc2f on black: 11.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.0%
Blue18.4%

CMYK percentages

Cyan4.9%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#c2cc2f text on a black background

contrast 11.97:1

Card sample

#c2cc2f text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 204, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 204, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cc2f;
background: linear-gradient(135deg, #c2cc2f, #59CC2F);

Monochromatic scale

Palettes built from #c2cc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cc2f in the Color Lab