Skip to content

#c2cb2d

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

RGB
194, 203, 45
HSL
63°, 64%, 49%
CMYK
4, 0, 78, 20
Luminance
0.5437

Every format

HEX#c2cb2d
RGBrgb(194, 203, 45)
HSLhsl(63, 64%, 49%)
CMYKcmyk(4%, 0%, 78%, 20%)
LABlab(78.7 -21.1 71.1)
LCHlch(78.7 74.1 106.5)
OKLCHoklch(0.809 0.168 113.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cb2d on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#c2cb2d on black: 11.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green79.6%
Blue17.6%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow77.8%
Key (black)20.4%

Color previews

#c2cb2d text on a black background

contrast 11.87:1

Card sample

#c2cb2d text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cb2d in the Color Lab