Skip to content

#c0af39

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

RGB
192, 175, 57
HSL
52°, 54%, 49%
CMYK
0, 9, 70, 25
Luminance
0.4216

Every format

HEX#c0af39
RGBrgb(192, 175, 57)
HSLhsl(52, 54%, 49%)
CMYKcmyk(0%, 9%, 70%, 25%)
LABlab(71.0 -7.2 59.7)
LCHlch(71.0 60.1 96.9)
OKLCHoklch(0.747 0.135 100.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0af39 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#c0af39 on black: 9.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green68.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta8.9%
Yellow70.3%
Key (black)24.7%

Color previews

#c0af39 text on a black background

contrast 9.43:1

Card sample

#c0af39 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0af39;
background: linear-gradient(135deg, #c0af39, #77C039);

Monochromatic scale

Palettes built from #c0af39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0af39 in the Color Lab