Skip to content

#c0ad2f

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

RGB
192, 173, 47
HSL
52°, 61%, 47%
CMYK
0, 10, 76, 25
Luminance
0.4130

Every format

HEX#c0ad2f
RGBrgb(192, 173, 47)
HSLhsl(52, 61%, 47%)
CMYKcmyk(0%, 10%, 76%, 25%)
LABlab(70.4 -6.6 62.8)
LCHlch(70.4 63.1 96.0)
OKLCHoklch(0.743 0.140 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0ad2f on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#c0ad2f on black: 9.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green67.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow75.5%
Key (black)24.7%

Color previews

#c0ad2f text on a black background

contrast 9.26:1

Card sample

#c0ad2f text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 173, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 173, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0ad2f;
background: linear-gradient(135deg, #c0ad2f, #73C02F);

Monochromatic scale

Palettes built from #c0ad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0ad2f in the Color Lab