Skip to content

#c7ae39

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

RGB
199, 174, 57
HSL
49°, 56%, 50%
CMYK
0, 13, 71, 22
Luminance
0.4271

Every format

HEX#c7ae39
RGBrgb(199, 174, 57)
HSLhsl(49, 56%, 50%)
CMYKcmyk(0%, 13%, 71%, 22%)
LABlab(71.4 -3.6 60.3)
LCHlch(71.4 60.4 93.5)
OKLCHoklch(0.752 0.135 96.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7ae39 on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#c7ae39 on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green68.2%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta12.6%
Yellow71.4%
Key (black)22.0%

Color previews

#c7ae39 text on a black background

contrast 9.54:1

Card sample

#c7ae39 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 174, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 174, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7ae39;
background: linear-gradient(135deg, #c7ae39, #81C739);

Monochromatic scale

Palettes built from #c7ae39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7ae39 in the Color Lab