Skip to content

#c2ad2d

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

RGB
194, 173, 45
HSL
52°, 62%, 47%
CMYK
0, 11, 77, 24
Luminance
0.4155

Every format

HEX#c2ad2d
RGBrgb(194, 173, 45)
HSLhsl(52, 62%, 47%)
CMYKcmyk(0%, 11%, 77%, 24%)
LABlab(70.6 -5.8 63.7)
LCHlch(70.6 64.0 95.2)
OKLCHoklch(0.744 0.141 99.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ad2d on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#c2ad2d on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow76.8%
Key (black)23.9%

Color previews

#c2ad2d text on a black background

contrast 9.31:1

Card sample

#c2ad2d text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ad2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ad2d in the Color Lab